#include <bits/stdc++.h>
using namespace std;
void print_Divisor(int n){
cout << "All Divisors are: ";
for(int i=1; i<=sqrt(n); i++) {
if(n%i == 0) {
cout << i << " ";
if(i != n/i) {
cout << n/i << " ";
}
}
}
cout << endl;
}
int main() {
int n;
cin >> n;
print_Divisor(n);
return 0;
}