import java.io.*; import java.lang.*; import java.nio.charset.StandardCharsets; public class Main { public static void main(String[] args) { try { InputStream in = new FileInputStream("in.txt"); int n = in.read(); while(n != -1) { System.out.write(n); n = in.read(); } } catch (IOException ex) { System.out.println(ex); } System.out.flush(); } }