input: Write a python function to reverse the order of the last n words in a string and capitalize the first letter of each word.
  assert reverse_capitalize("the quick brown fox", 3) == "Fox The Quick Brown"
  assert reverse_capitalize("hello world this is a test", 2) == "Test Hello World This Is A"
  assert reverse_capitalize("one two three four five", 1) == "Five One Two Three Four"
  assert reverse_capitalize("apple banana cherry date", 4) == "Date Apple Banana Cherry"
output: def reverse_capitalize(s, n):
      words = s.split()
      last_n_words = words[-n:]
      reversed_last_n_words = [word.capitalize() for word in reversed(last_n_words)]
      remaining_words = words[:-n]
      return ' '.join(reversed_last_n_words + [word.capitalize() for word in remaining_words])