#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a; for(b=1;b<=a;b++) { if(a%b==0) { cout<<b; } } }