#include<stdio.h>
#include<string.h>
int main(){
    str s[50];
    scanf("%s",&s);
    if(special character'#'';){
        printf("Invalid input");
    }
    else{
        printf("Length of the last word");
    }
    return 0;
}