#include<iostream> using namespace std; int main() { int i,j,n,m,v; cin>>n; for(int i=1;i<=n;i++){ int s=0; for(j=1;j<i;j++){ if(i%j==0) s+=j; } if(s==i) m=i%100; v=i/100; cout<<v<<endl; cout<<m<<endl; if(i%2=2) cout<<"*2"; } return 0; }