#include using namespace std; int main(){ int N; int x,n=0; cin>>N; x=N; for(int i=0;i=1;i--){ if(x%i==0&&n%i==0){ cout<