Commit Combinations.java(bad solution).