Pergunta de entrevista da empresa Yandex

Print "1 s 2 s 3 s ... s n" for arbitary given string s and integer n.