j;main(i,k){for(k=i=atoi(gets(k));!j--?j=--i?k++:k/2,~i:putchar(j?i&&i+j