|  | 
|  | 
| back to board | runtime error pomogite pojalusta import java.util.Scanner;
 public class main {
 public static void main(String args[]) throws Exception {
 Scanner s = new Scanner(System.in);
 int v = Integer.parseInt(s.nextLine());
 int c = Integer.parseInt(s.nextLine());
 if (c != 0 || v != 0) {
 System.out.print(c - 1 + " ");
 System.out.print(v - 1);
 } else {
 System.out.println("Error");
 }
 }
 }
 
 v chom oshibka
 | 
 | 
|