added 2012 question
added input for java code