JAVA SUBMISSION