let input:[Int] = readLine()!.split(separator: " ").map{Int($0)!} print(input[0] % 4 == 0 ? "YES" : "NO")