백준 프로그래밍
백준 18108번 1998년생인 내가 태국에서는 2541년생?!(C#, JAVA)
노마드선샤인
2023. 2. 11. 23:36
728x90
using System;
namespace Baekjoon {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
Console.WriteLine(a-543);
}
}
}
//////////////
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
System.out.println(a - 543);
}
}
728x90