#include <iostream>
using namespace std;
int main()
{
int sum = 0;
int arr[][3] = {{0, 1, 2}, {3, 4, 5}, {6, 7, 8}};
for (int i = 0; i < 3 ; ++i)
{
for (int j=0; j<1;j++)
{
sum += arr[i][j];
}
}
cout << sum << endl;
return 0;
}
CiNpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsgCmludCBtYWluKCkKewppbnQgc3VtID0gMDsKaW50IGFycltdWzNdID0ge3swLCAxLCAyfSwgezMsIDQsIDV9LCB7NiwgNywgOH19Owpmb3IgKGludCBpID0gMDsgaSA8IDMgOyArK2kpCnsKZm9yIChpbnQgaj0wOyBqPDE7aisrKQp7CnN1bSArPSBhcnJbaV1bal07Cn0KfQpjb3V0IDw8IHN1bSA8PCBlbmRsOwpyZXR1cm4gMDsKfQ==