Finished Daily169 in Java