#include <stdio.h>

int main(void) {
  
    char name[31];
    printf("What is your name? ");
    scanf("%s", &name);
    printf("Nice to meet you %s, my name is Sam.\n", name);
    
    return 0;
}