import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String ans; if ((N + 90) % 180 == 0) { ans = "Yes"; } else { ans = "No"; } System.out.println(ans); } }