diff --git a/day3.java b/day3.java index 08bd063..62b4a4b 100644 --- a/day3.java +++ b/day3.java @@ -10,11 +10,11 @@ public class Solution { - private static final Scanner scanner = new Scanner(System.in); + private static final Scanner sc = new Scanner(System.in); public static void main(String[] args) { - int N = scanner.nextInt(); - scanner.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); + int N = sc.nextInt(); + sc.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); if(N % 2 == 1) System.out.println("Weird"); else if(N % 2 == 0 && N>=2 && N<=5) @@ -26,6 +26,6 @@ else if(N % 2 == 0 && N>20) - scanner.close(); + sc.close(); } }