#include <stdio.h>
int test(int i, int j) {
int x[10][20];
int s = i + j;
i = 0;
j = 0;
for(i = 0; i < 10; i++)
while (j < 20)
{
j += 1;
x[i][j] = i * j;
}
for(i = 0; i < 10; i++)
while (j < 20) {
s += x[i][j];
}
return s;
}
int main() {
printf("%d\n", test(1, 9));
return 0;
}