#include <iostream>
using namespace std;
int main()
{
char str[20]="IITRoorkee";
for (int i=0; i<10; i++)
{ cout<<str+i<<endl;
cout<<*(str+i)<<endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogIGNoYXIgc3RyWzIwXT0iSUlUUm9vcmtlZSI7CmZvciAoaW50IGk9MDsgaTwxMDsgaSsrKQp7IGNvdXQ8PHN0citpPDxlbmRsOwpjb3V0PDwqKHN0citpKTw8ZW5kbDsKCn0KfQ==