string=input()
if(string=='saturday' or string=='sunday'):
  print("yes")
else:
  print("no")
  
  
  
#Given a day, print 'yes' if it is a holiday otherwise print'no'.Assume that weekend days are holidays
#Sample Testcase :
#INPUT
#saturday
#OUTPUT
#yes
#INPUT
#monday
#OUTPUT
#no
