input: from typing import List
  
  def reverse_words_in_string(s: str) -> str:
      """Reverses the order of words in a given string.
      >>> reverse_words_in_string("Hello World")
      'World Hello'
      >>> reverse_words_in_string("This is a test")
      'test a is This'
      """
output:     words = s.split()
      reversed_words = words[::-1]
      return ' '.join(reversed_words)