a = io.read("*n") f = a == 0 or a == 4 or a == 10 print(f and "Yes" or "No")