input: Write a python function to find the day of the week for a given date in the format 'YYYY/MM/DD'.
  assert dayOfWeek('2023/10/05')=='Thursday'
  assert dayOfWeek('2020/02/29')=='Saturday'
  assert dayOfWeek('2000/01/01')=='Saturday'
  assert dayOfWeek('1999/12/31')=='Friday'
output: def dayOfWeek(date: str) -> str:
      import datetime
      
      # Split the date string into year, month, and day
      year, month, day = map(int, date.split('/'))
      
      # Create a date object
      date_obj = datetime.date(year, month, day)
      
      # Get the day of the week as a string
      return date_obj.strftime('%A')