#include using namespace std; int main() { int n; cout<<"Enter number = "; cin>>n; int num=1; for(int i=1;i