in Catowice city weekend cat contest hold however jury member contestant have not select there n resident n cat Catowice resident exactly cat living house the resident cat number integer 1 n ith cat living house ith residentEach Catowice resident friendship cat include live house in order conduct contest jury member need cat contestant need of course jury member know contestant for contest successful need number jury member plus number contestant equal nPlease help Catowice resident select jury contestant upcoming competition determine impossible