input: Write a function to determine the type of place based on its name.
  assert get_place_type('New York City') == 'City'
  assert get_place_type('Greenwood Village') == 'Village'
  assert get_place_type('Rocky Mountain') == 'Mountain'
  assert get_place_type('Grand River') == 'River'
  assert get_place_type('Mystic Island') == 'Island'
  assert get_place_type('Small Town') == 'Town'
output: def get_place_type(place_name):
      if place_name.endswith('City'):
          return 'City'
      elif place_name.endswith('Village'):
          return 'Village'
      elif place_name.endswith('Mountain'):
          return 'Mountain'
      elif place_name.endswith('River'):
          return 'River'
      elif place_name.endswith('Island'):
          return 'Island'
      elif place_name.endswith('Town'):
          return 'Town'
      else:
          return 'Unknown'