package ru.pravvich;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class CheckNumber {
    private BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

    public BufferedReader getBufferedReader() {
        return this.bufferedReader;
    }

    public boolean checkNumber(BufferedReader in) {
        try {
            if ((in.read() % 2) == 0) {
                return true;
            } else {
                return false;
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        return false;
    }

    public static void main(String[] args) {
        CheckNumber checkNumber = new CheckNumber();
        boolean ans = checkNumber.checkNumber(checkNumber.getBufferedReader());
        if (ans) {
            System.out.println("Четное.");
        } else {
            System.out.println("Не четное.");
        }
    }
}

@@ -139,197 +139,8 @@
 er %7B
-%0A    private BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));%0A%0A    public BufferedReader getBufferedReader() %7B%0A        return this.bufferedReader;%0A    %7D
 %0A%0A  
@@ -240,34 +240,16 @@
 2) == 0)
- %7B%0A               
  return 
@@ -258,73 +258,8 @@
 ue;%0A
-            %7D else %7B%0A                return false;%0A            %7D%0A
     
@@ -284,16 +284,17 @@
 eption e
+x
 ) %7B%0A    
@@ -302,16 +302,17 @@
        e
+x
 .printSt
@@ -403,24 +403,118 @@
 g%5B%5D args) %7B%0A
+        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));%0A
         Chec
@@ -604,24 +604,9 @@
 ber(
-checkNumber.getB
+b
 uffe
@@ -614,18 +614,16 @@
 edReader
-()
 );%0A     
@@ -759,9 +759,8 @@
 %0A    %7D%0A%7D
-%0A

add chapter_003