ticket 1212 solve