problem 29, one liner again