1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import java.util.*; import java.io.*; import java.math.BigInteger; public class Q2338 { public static void main(String[] args) throws IOException { Scanner scanner = new Scanner(System.in); BigInteger A = scanner.nextBigInteger(); BigInteger B = scanner.nextBigInteger(); System.out.println(A.add(B)); System.out.println(A.subtract(B)); System.out.println(A.multiply(B)); } } | cs |