Implement queue using two stacks
Maybe You could do better if you:


Define an interface with complete JavaDoc.
Make s1 and s2 final
Write a JUnit-Test with constant testdata instead of reading input from keyboard. Do not use System.out.println in JUnit.