def yn(hantei, yes='Yes', no='No'): print(yes if hantei else no) def p(*args): print(*args) yn(input()[0] in ['4','5'])