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