Vasya array consist nonnegative integer size n b size m Vasya choose positive integer k create nm matrix v follow formulavasya write matrix v piece paper tableA year later Vasya cleaning table find piece paper contain nm matrix w he remember make matrix day rule give sure find paper matrix v day your task find matrix w you ve find obtain follow rule number ka1a2anb1b2bm possible