import calendar;print(['No','Yes'][calendar.isleap(int(input()))])