#include <iostream>
#include <string>
using namespace std;
int main() {
for(string str;getline(cin,str)&&str!="ENDOFINPUT"&&getline(cin,str);cout<<endl&&getline(cin,str))
for(int i=0;i<str.length();++i)
cout<<(str[i]>'Z'||str[i]<'A'?str[i]:"VWXYZABCDEFGHIJKLMNOPQRSTU"[str[i]-'A']);
return 0;
}
Saturday, 11 April 2009
POJ 1298
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment