import java.util.*;
import java.io.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigInteger A = sc.nextBigInteger();
BigInteger B = sc.nextBigInteger();
sc.close();
System.out.println(A.add(B));
System.out.println(A.subtract(B));
System.out.println(A.multiply(B));
}
}
'Playground > 자바문제집' 카테고리의 다른 글
[백준] 4101번 (0) | 2023.01.24 |
---|---|
[백준] 3733번 (0) | 2023.01.24 |
[백준] 5622번 (0) | 2023.01.24 |
[백준] 1065번 (0) | 2023.01.23 |
[백준] 2920번 (0) | 2023.01.23 |