#include<stdio.h>
#include<string.h>
char *f(char *p,int m)
{
char b[100];
strcpy(b,p+m);
return b;
}
int main()
{
char a[100];
int m,d;
while(~scanf("%s,%d",a,&m))
{
printf("%s",f(a,m));
}
return 0;
}
/*
1234567890 5
567890
aqswde12345678 7
12345678
q q
Press any key to continue
*/
#include <stdio.h>