var a,b,c:char;
begin
readln(a,b,c);
writeln('Сотни=',a);
writeln('Десятки=',b);
writeln('Единицы=',c);
end.
include <cmath>
using namespace std;
int main()
{
int a;
cin>>a;
cout<<a%10<<" "<<(a%100-a%10)/10<<" "<<a/100;
return 0;
}
var a,b,c:char;
begin
readln(a,b,c);
writeln('Сотни=',a);
writeln('Десятки=',b);
writeln('Единицы=',c);
end.