import java.io.BufferedReader; import java.io.InputStreamReader; class TirePressure { public static void main(String[] args) throws java.io.IOException { int Tire1,Tire2,Tire3,Tire4; System.out.println("Right Front"); BufferedReader Tire1I = new BufferedReader(new InputStreamReader(System.in)); Tire1 = Integer.parseInt(Tire1I.readLine()); System.out.println("Left Front"); BufferedReader Tire2I = new BufferedReader(new InputStreamReader(System.in)); Tire2 = Integer.parseInt(Tire2I.readLine()); System.out.println("Right Rear"); BufferedReader Tire3I = new BufferedReader(new InputStreamReader(System.in)); Tire3 = Integer.parseInt(Tire3I.readLine()); System.out.println("Left Rear"); BufferedReader Tire4I = new BufferedReader(new InputStreamReader(System.in)); Tire4 = Integer.parseInt(Tire4I.readLine()); if (Tire1 == Tire2 && Tire3 == Tire4){ System.out.println("Tire Pressure is OK"); } else { System.out.println("Tire pressure is wrong"); } }} //By msglm; Licensed under the AGPL v3