ticket 1141 solve