import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner scan = new Scanner(System.in); System.out.println("enter Integer"); int a = scan.nextInt(); System.out.println("enter another Integer"); int b = scan.nextInt(); System.out.println("enter text"); String text= scan.next(); System.out.println((a + b) + " " + text); } }