Problem 24: Slightly nicer then before(remove repeated (0..9)).