import java.util.*; import java.util.Scanner; import java.io.FileNotFoundException; import java.io.File; class CatchTheUFO{ public static void main(String args[]){ try{ File file = new File("test.txt"); Scanner scan = new Scanner(file); scan.useDelimiter(" "); int x = Integer.parseInt(scan.next()); int y = Integer.parseInt(scan.next()); int r = Integer.parseInt(scan.next()); System.out.println(x + y + r); }catch(FileNotFoundException e){ System.out.println(e); } } }