└── Numbers /Numbers: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import java.util.*; 3 | 4 | public class Solution { 5 | 6 | public static void main(String[] args) { 7 | /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ 8 | Scanner s=new Scanner(System.in); 9 | int n1=s.nextInt(); 10 | int n2=s.nextInt(); 11 | int n3=s.nextInt(); 12 | int tot=n2+n3; 13 | int res=n1-tot; 14 | System.out.println(res); 15 | } 16 | } 17 | --------------------------------------------------------------------------------