Create UVa 10340

string prossessing