class Main {
final static int N = 10;
public static void main
(String[] args
) { int []a = new int[N];
for (int i = 0; i < N; i++)
a[i] = N - i;
for (int i = 0; i < N; i++)
}
}
Y2xhc3MgTWFpbiB7CiAgZmluYWwgc3RhdGljIGludCBOID0gMTA7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgaW50IFtdYSA9IG5ldyBpbnRbTl07CiAgICBmb3IgKGludCBpID0gMDsgaSA8IE47IGkrKykKICAgICAgYVtpXSA9IE4gLSBpOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBOOyBpKyspCiAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihhW2ldKTsKICB9Cn0K