Advertisement
Josif_tepe

Untitled

Mar 20th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1.     import java.io.*;
  2. import java.lang.*;
  3.     import java.nio.charset.StandardCharsets;
  4.  
  5.     public class Main {
  6.  
  7.         public static void main(String[] args) {
  8.             try {
  9.                 int n = System.in.read();
  10.                 System.out.write(n);
  11.             }
  12.             catch (IOException ex) {
  13.  
  14.             }
  15.  
  16.             System.out.flush();
  17.  
  18.         }
  19.     }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement