a=io.read("*n") if a % 180 == 0 then print("No") elseif a % 90 == 0 then print("Yes") else print("No") end