Shichi-Go-San (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children.
Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?

-----Constraints-----
 - 1 ≤ X ≤ 9
 - X is an integer.

-----Input-----
Input is given from Standard Input in the following format:
X

-----Output-----
If Takahashi's growth will be celebrated, print YES; if it will not, print NO.

-----Sample Input-----
5

-----Sample Output-----
YES

The growth of a five-year-old child will be celebrated.
[{"code": "n = int(input())\nif any(c == n for c in [3, 5, 7] ) :\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 1.06, "memory": 14364.0, "status": "done"}, {"code": "# author:  Taichicchi\n# created: 10.10.2020 23:10:27\n\nimport sys\n\nX = int(input())\n\nif (X == 3) | (X == 5) | (X == 7):\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.15, "memory": 14148.0, "status": "done"}, {"code": "x=int(input())\nprint(\"YES\" if x==7 or x==5 or x==3 else \"NO\")", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "d = int(input())\n\nif d == 7 or d == 5 or d == 3:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.26, "memory": 14132.0, "status": "done"}, {"code": "print(\"YES\"if input()in\"753\"else\"NO\")", "passed": true, "time": 0.29, "memory": 14300.0, "status": "done"}, {"code": "ans=[\"YES\",\"NO\"][input() not in \"357\"]\nprint(ans)", "passed": true, "time": 1.84, "memory": 14276.0, "status": "done"}, {"code": "koman = int(input())\nif koman==7 or koman==5 or koman==3:\n    print(\"YES\")\nelse :\n    print(\"NO\")", "passed": true, "time": 0.27, "memory": 14324.0, "status": "done"}, {"code": "x = int(input())\n\nl = [7,5,3]\n\nfor i in l:\n    if(x==i):\n        print('YES')\n        return\nprint('NO')", "passed": true, "time": 0.27, "memory": 14100.0, "status": "done"}, {"code": "x = int(input())\nif x == 3 or x == 5 or x == 7:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.21, "memory": 14104.0, "status": "done"}, {"code": "a = int(input())\nif a == 3 or a == 5 or a == 7:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.24, "memory": 14312.0, "status": "done"}, {"code": "x = int(input())\nif x in [3,5,7]:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.24, "memory": 14244.0, "status": "done"}, {"code": "x=int(input())\nif x in [3,5,7]:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "print('YES' if input() in '357' else 'NO')", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "N = str(input())\nN_List = [\"3\",\"5\",\"7\"]\nif N in N_List:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n\n\n", "passed": true, "time": 0.24, "memory": 14136.0, "status": "done"}, {"code": "x=int(input())\nif x==7 or x==5 or x==3:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.15, "memory": 14096.0, "status": "done"}, {"code": "def main():\n    n = input()\n    if n in (\"3\", \"5\", \"7\"): print(\"YES\")\n    else: print(\"NO\")\n    \n    \nmain()", "passed": true, "time": 0.2, "memory": 14304.0, "status": "done"}, {"code": "i = int(input())\n\nif i == 3 or i == 5 or i == 7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "a=int(input())\nif a==3 or a==5 or a==7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "X = int(input())\nif X == 7 or X == 5 or X == 3:\n  print('YES')\nelse:\n  print('NO')\n", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "x = int(input())\nif x == 3 or x == 5 or x == 7:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.15, "memory": 14204.0, "status": "done"}, {"code": "X=input()\nif X in \"753\":\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "print([\"NO\",\"YES\"][input() in \"357\"])", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "n=int(input())\nif n in [3,5,7]:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "# A 753\nx = int(input())\nif x == 7 or x == 5 or x == 3:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "X=int(input())\nprint([\"NO\",\"YES\"][X==3 or X==5 or X==7])", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "x = int(input())\nif x in [7,5,3]:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "n = int(input())\nprint(\"YES\" if n == 3 or n == 5 or n == 7 else \"NO\")", "passed": true, "time": 0.14, "memory": 14352.0, "status": "done"}, {"code": "print(\"YES\" if input() in \"357\" else \"NO\")", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "A = int(input())\n\nif A in [3, 5, 7]:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.18, "memory": 14076.0, "status": "done"}, {"code": "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n    X = int(readline())\n\n    if X in (7, 5, 3):\n        print('YES')\n    else:\n        print('NO')\n\n    return\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.15, "memory": 14156.0, "status": "done"}, {"code": "X = int(input())\nif X == 7 or X == 5 or X == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "X = int(input())\nif X==7 or X==5 or X==3:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.25, "memory": 14212.0, "status": "done"}, {"code": "n = int(input())\n\nif n == 7 or n == 5 or n == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.29, "memory": 14340.0, "status": "done"}, {"code": "X = input()\nif X in \"753\":\n  print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.22, "memory": 14188.0, "status": "done"}, {"code": "a = input()\na = int(a)\n\nif a == 7 or a == 5 or a == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.34, "memory": 14336.0, "status": "done"}, {"code": "X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.2, "memory": 14252.0, "status": "done"}, {"code": "x = int(input())\n\nif x == 3 or x == 5 or x == 7:\n    ans = 'YES'\nelse:\n    ans = 'NO'\n\nprint(ans)", "passed": true, "time": 0.21, "memory": 14124.0, "status": "done"}, {"code": "x=int(input())\nif x==3 or x==5 or x==7:print('YES')\nelse:print('NO')", "passed": true, "time": 0.36, "memory": 14100.0, "status": "done"}, {"code": "x = int(input())\nif x == 3 or x == 5 or x == 7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.24, "memory": 14072.0, "status": "done"}, {"code": "X = int(input())\nprint(\"YES\" if X == 7 or X == 5 or X == 3 else \"NO\")", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "x = int(input())\nif x==3 or x==5 or x==7:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14344.0, "status": "done"}, {"code": "n = int(input())\nprint(\"YES\" if n in [3, 5, 7] else \"NO\")", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "x = int (input ())\nif x==3 or x==5 or x==7:\n  print ('YES')\nelse:\n  print ('NO')", "passed": true, "time": 0.23, "memory": 14148.0, "status": "done"}, {"code": "n = int(input())\n\nprint(('YES' if n in [3, 5, 7] else 'NO'))\n", "passed": true, "time": 0.21, "memory": 14104.0, "status": "done"}, {"code": "y=int(input())\nif y==7 or y==5 or y==3:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14316.0, "status": "done"}, {"code": "X = int(input())\nans = \"YES\" if X == 7 or X == 5 or X == 3 else \"NO\"\nprint(ans)\n", "passed": true, "time": 0.24, "memory": 14140.0, "status": "done"}, {"code": "age = int(input())\n\nif age in [7, 5, 3]:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.15, "memory": 14304.0, "status": "done"}, {"code": "X = int(input())\nif X == 3 or X == 5 or X == 7:\n    print('YES')\nelse:\n    print('NO') ", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "x=int(input())\nans=[\"NO\",\"YES\"][x==7 or x==5 or x==3]\nprint(ans)", "passed": true, "time": 0.18, "memory": 14244.0, "status": "done"}, {"code": "X = int(input())\n\nif X in [7, 5, 3]:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "x=int(input())\nif x==3 or x==5 or x==7:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "rStr = input()\n\nA = int(rStr.split(' ')[0])\n\nif A == 7 or A == 5 or A == 3 :\n    print(\"YES\")\nelse :\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "X = int(input())\nif X%2 == 1 and X != 1 and X != 9:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "x = input()\nprint((\"YES\" if x in \"753\" else \"NO\"))\n", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "n = input()\nprint(\"YES\" if n == \"3\" or n == \"5\" or n == \"7\" else \"NO\")", "passed": true, "time": 0.16, "memory": 14092.0, "status": "done"}, {"code": "ma = lambda :map(int,input().split())\nlma = lambda :list(map(int,input().split()))\ntma = lambda :tuple(map(int,input().split()))\nni = lambda:int(input())\nyn = lambda fl:print(\"YES\") if fl else print(\"NO\")\nimport collections\nimport math\nimport itertools\nimport heapq as hq\nimport sys\n\nx = ni()\nf=False\nif x in[3,5,7]:\n    f=True\nyn(f)\n", "passed": true, "time": 0.14, "memory": 14144.0, "status": "done"}, {"code": "print(('YES' if int(input()) in [7, 5, 3] else 'NO'))\n", "passed": true, "time": 0.14, "memory": 14044.0, "status": "done"}, {"code": "x = int(input())\n\nif x == 3 or x == 5 or x == 7:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "x = int(input())\nif (x == 7) or (x == 5) or (x == 3):\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "x=input()\nprint(\"YES\" if x  in \"753\"  else \"NO\")", "passed": true, "time": 0.23, "memory": 14236.0, "status": "done"}, {"code": "x=input()\nans=[\"YES\",\"NO\"][x not in \"357\"]\nprint(ans)", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "X = int(input())\n\nif X in [3,5,7]:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "n = int(input())\nif n==3 or n==5 or n==7:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.15, "memory": 14204.0, "status": "done"}, {"code": "X=int(input())\nprint(\"YES\" if X==3 or X==5 or X==7 else \"NO\")", "passed": true, "time": 0.15, "memory": 14136.0, "status": "done"}, {"code": "x = int(input())\nif x == 3 or x == 5 or x == 7:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.15, "memory": 14208.0, "status": "done"}, {"code": "x=int(input())\nif x == 3:\n    print(\"YES\")\nelif x == 5:\n    print(\"YES\")\nelif x == 7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.21, "memory": 14264.0, "status": "done"}, {"code": "age = int(input())\nif age == 7 or age == 5 or age == 3:\n\tprint('YES')\nelse:\n\tprint('NO')\n", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "x = input()\nif x in \"357\":\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "X = int(input())\n\nif X == 3 or X == 5 or X == 7:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "X = input()\nif  X in '753':\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "a=int(input())\nprint(['NO','YES'][a == 7 or a==5 or a==3])", "passed": true, "time": 0.15, "memory": 14176.0, "status": "done"}, {"code": "X = int(input())\nif (X == 3 or X == 5 or X == 7):\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "x = int(input())\nif x==7 or x==5 or x==3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "x = int(input())\nif x == 7 or x == 5 or x == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14040.0, "status": "done"}, {"code": "print(\"YES\" if int(input()) in [3,5,7] else \"NO\")", "passed": true, "time": 0.14, "memory": 14008.0, "status": "done"}, {"code": "n = int(input())\n\nif n ==3 or n ==5 or n==7:\n    print(\"YES\")\n\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "c = input()\nif c in \"753\":\n  print(\"YES\")\nelse:\n  print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "a=int(input())\nprint([\"NO\",\"YES\"][a==3 or a==5 or a==7])", "passed": true, "time": 0.14, "memory": 14364.0, "status": "done"}, {"code": "a = int(input())\nif a == 7 or a == 5 or a == 3:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.24, "memory": 14300.0, "status": "done"}, {"code": "X = int (input ())\nif X==7 or X==5 or X==3:\n  print ('YES')\nelse:\n  print ('NO')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "N = int(input())\nif N == 3 or N== 5 or N == 7:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "X=int(input())\nif X== 3 or X==5 or X==7:\n  print(\"YES\")\nelse:\n  print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "X = int(input())\n\nif X==7 or X==5 or X==3:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "a = int(input())\nif a == 3 or a == 5 or a == 7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "X = int(input())\n\nif  X < 9 and X > 1 and X % 2 == 1:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.27, "memory": 14352.0, "status": "done"}, {"code": "x=int(input())\n\nif x==3 or x==5 or x==7:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.33, "memory": 14136.0, "status": "done"}, {"code": "x=int(input())\nif x==7 or x==5 or x==3:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.27, "memory": 14264.0, "status": "done"}, {"code": "X = int(input())\nprint(\"YES\") if X in [3,5,7] else print(\"NO\")", "passed": true, "time": 0.18, "memory": 14308.0, "status": "done"}, {"code": "N=input()\nprint(\"YES\" if N in \"753\" else \"NO\")", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a = int(input())\nif a in [7, 5, 3]:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "a=int(input())\nif a==3 or a==5 or a==7:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "x = int(input())\nif x == 7 or x == 5 or x == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "x = int(input())\n\nif x in [3, 5, 7]:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "x = input()\nprint((\"YES\" if \"7\" in x or \"5\" in x or \"3\" in x else \"NO\"))\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "X = int(input())\nif X in [3, 5, 7]:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "x = int(input())\nif x == 7 or x == 5 or x == 3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "\nX=int(input())\nif X==7 or X==5 or X==3:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "x=input()\nif x=='7' or x=='5' or x=='3':\n  print('YES')\nelse:\n  print('NO')\n", "passed": true, "time": 0.18, "memory": 14128.0, "status": "done"}, {"code": "if input() in \"753\":\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}]