#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
 int n,m,i;
 char st[20];
 clrscr();
 printf("enter the string\n");
 scanf("%s",st);
 printf("enter the no.of characters to be printed:\n from which character to be printed:\n");
 scanf("%d%d",&m,&n);
 if(m+n>(strlen(st)+1)) printf("not possible");
 else
 {
  for(i=n;i<m+n;i++)
  printf("%c",st[i-1]);
 }
 getch();
}
