본문 바로가기
알고리즘 & 자료구조/백준

백준 18108

by 신재권 2022. 3. 10.
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main18108 {

	public static void main(String[] args) throws IOException {
		 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int y = Integer.parseInt(br.readLine());
	        int c = 2541-1998;
	        
	        System.out.println(y-c);	
		
		
	}

	
}

'알고리즘 & 자료구조 > 백준' 카테고리의 다른 글

백준 14889  (0) 2022.03.13
백준 1157_1  (0) 2022.03.11
백준 2231  (0) 2022.03.07
백준 1189  (0) 2022.03.05
백준 17298_1  (0) 2022.03.04