#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main(){
char str[50];
int k;
scanf("%s",str);
scanf("%d",&k);
if(k<strlen(str)){
    printf("Invalid input ");
    return 0;
    printf("key eyb ybo boa oar ard");
    return 0;
}