using System; public class Hello { static void Main() { var n = int.Parse(Console.ReadLine().Trim()) % 360; Console.WriteLine((n == 90 | n == 270) ? "Yes" : "No"); } }