import std.stdio, std.string, std.conv, std.algorithm; import std.range, std.array, std.container, std.math, std.typecons; immutable int mod = 10^^9 + 7; int N; void main() { N = readln.chomp.to!int; writeln(is_uruu(N) ? "Yes" : "No"); } bool is_uruu(int x) { return !(x % 400) || (x % 100 && !(x % 4)); }