E002 : ADA and pet | String Algorithms | SPOJ