import sequtils import strutils var S: string = stdin.readLine() if S[0] == '4' or S[0] == '5': echo("Yes") else: echo("No")