Category

Similar Problems

0156. Satrlar10

Time limit : 1000 ms
Memory limit : 64 mb

Matndagi i-so`zni j-so`z bilan almashtiruvchi dastur tuzilsin.


Kiruvchi ma`lumotlar: Bitta satrda matn berilgan matn uzunliki 500 dan oshmaydi. Keyingi satrda i va j lar berilgan.


Chiquvchi ma`lumotlar: Xosil bo`lgan matn.

Input
Asus Acer HP Lenovo Dell
1 2
Output
Acer Asus HP Lenovo Dell
Input
Atum Shoh El Baha Mahmud
2 5
Output
Atum Mahmud El Baha Shoh