diff --git a/4A.java b/4A.java index 480bedc..34acefa 100644 --- a/4A.java +++ b/4A.java @@ -2,16 +2,19 @@ import java.lang.*; import java.io.*; - -public class Codechef -{ - public static void main (String[] args) throws java.lang.Exception - { +public class Codechef { + + public static void main (String[] args) throws java.lang.Exception { + Scanner scan = new Scanner(System.in); + int w = scan.nextInt(); + if(w ==2 || w % 2 ==1) - System.out.println("NO"); + System.out.println("NO"); else if(w % 2 == 0) - System.out.println("YES"); + System.out.println("YES"); + } -} \ No newline at end of file + +}