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