solution 44 seconds