import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int c = (char)System.in.read();
System.out.print(c);
}
}
throws Exception를 빼먹었다. 근데 제출은 됨.