#include <cstdio>
int main() {
int a = 2;
int b = 8;
int c = 8;
for (int i = a + b + c; i > -10; --i) {
c += b + 17;
}
printf("%i\n", c *= a);
return 0;
}
I2luY2x1ZGUgPGNzdGRpbz4KCmludCBtYWluKCkgewogIGludCBhID0gMjsKICBpbnQgYiA9IDg7CiAgaW50IGMgPSA4OwogIAogIGZvciAoaW50IGkgPSBhICsgYiArIGM7IGkgPiAtMTA7IC0taSkgewogICAgYyArPSBiICsgMTc7CiAgfQoKICBwcmludGYoIiVpXG4iLCBjICo9IGEpOwogIHJldHVybiAwOwp9
Mgo1IDcKMSAyIDIKMSA0IDUKMiAzIDE0CjIgNCA1CjIgNSA0CjMgNSAzNAo0IDUgNTgKNyAxMQoxIDIgNDAKMSAzIDgKMSA0IDExCjIgMyAyOQoyIDYgMTcKMyA0IDMKMyA2IDMxCjQgNSA0Ngo1IDYgNDAKNSA3IDE1CjYgNyA1Mw==
2
5 7
1 2 2
1 4 5
2 3 14
2 4 5
2 5 4
3 5 34
4 5 58
7 11
1 2 40
1 3 8
1 4 11
2 3 29
2 6 17
3 4 3
3 6 31
4 5 46
5 6 40
5 7 15
6 7 53