#include #define max(a,b) ((a)>(b)?(a):(b)) int main() { int t; scanf("%d",&t); int ans[t]; int y,x; int nums[110][110],dp[110][110]; for(int i=0;i