a=int(input('input solved task:'))
tasks_left=12-a
if tasks_left*45<=240:
print('YES')
else:
print('NO')
YT1pbnQoaW5wdXQoJ2lucHV0IHNvbHZlZCB0YXNrOicpKQp0YXNrc19sZWZ0PTEyLWEKaWYgdGFza3NfbGVmdCo0NTw9MjQwOgogICAgcHJpbnQoJ1lFUycpCmVsc2U6CiAgICBwcmludCgnTk8nKQ==