#include<iostream>
using namespace std;
int main(){
int i,r,k=1,d;
long int n=12345;
cout<<"enter the number:"<<n<<"\n";
while(n!=0){
r=n%10;
cout<<"a number:"<<r;
cout<<" ";
n=n/10;
}


return 0;}