public class Main { public static void main(String[] argv) throws Exception { long l = Long.parseLong("123"); System.out.println(l); } }