#include<iostream>

using namespace std;

int dauChamDong();

int main()
{	
	int n;
	int Result = dauChamDong();
	//cout << Result << endl;
	system("pause");
	return 0;
}

int soDao()
{
	int temp, n;
	cout << " Enter Input: "; 
	cin >> n;
	int rem = 0;
	while(n!=0)
	{
		temp = n % 10;
		rem = rem * 10 + temp;
		n = n / 10;
	}
	return rem;
}

int dauChamDong()
{
	int n = soDao();
	int temp;
	int rem = 0;
	while(n!=0)
	{
		temp = n % 10;
		n = n / 10;
		cout << temp << " . ";
	}
	return temp;
}