var a,b:string;
i:byte;
begin
write('Nhap xau a: '); readln(a);
for i:=1 to length(a) do
if a[i] in ['0'..'9'] then b:=b+a[i];
write('Xau b la : ',b);
readln
end.
#include <bits/stdc++.h>
using namespace std;
string st;
int d,i;
int main()
{
getline(cin,st);
d=st.length();
for (i=0; i<=d-1; i++)
{
if (st[i]>=97 && st[i]<=122) st[i]-=32;
}
cout<<st<<endl;
cout<<d;
return 0;
}