Problem 373 from http://acm.uva.es/problemset/
ய饭 
PGPUK -> GPPUK
EPGPUK -> EPPGUK

