problem23 solved, 26 seconds exec time