Java Io Error While Reading Input In Python