#include using namespace std; int main() { int n,num,p=0,i,m,j=1; while(cin>>n&&n>1) { if(p) cout<