https://www.acmicpc.net/problem/2558 2558번: A+B - 2 첫째 줄에 A, 둘째 줄에 B가 주어진다. (0 < A, B < 10) www.acmicpc.net import java.util.Scanner; public class baekjoon_2558 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); sc.nextLine(); int B = sc.nextInt(); System.out.println(A+B); } }