import java.util.* ; public class Main{ public static void main(String...args) { Scanner sc = new Scanner(System.in) ; while(sc.hasNextLine()) { String[] arr = sc.nextLine().split(" ") ; int a = Integer.parseInt(arr[0]) ; int b = Integer.parseInt(arr[1]) ; System.out.println(fun(a,b)) ; } ...