#include <stdio.h>
int main() {
char name[5]; // 4 chars + null terminator
printf("Enter the first four letters of your name:\n");
name[4] = '\0';
printf("You entered: %s\n", name
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgbmFtZVs1XTsgLy8gNCBjaGFycyArIG51bGwgdGVybWluYXRvcgoKICAgIHByaW50ZigiRW50ZXIgdGhlIGZpcnN0IGZvdXIgbGV0dGVycyBvZiB5b3VyIG5hbWU6XG4iKTsKCiAgICBzY2FuZigiICVjIiwgJm5hbWVbMF0pOwogICAgc2NhbmYoIiAlYyIsICZuYW1lWzFdKTsKICAgIHNjYW5mKCIgJWMiLCAmbmFtZVsyXSk7CiAgICBzY2FuZigiICVjIiwgJm5hbWVbM10pOwoKICAgIG5hbWVbNF0gPSAnXDAnOwoKICAgIHByaW50ZigiWW91IGVudGVyZWQ6ICVzXG4iLCBuYW1lKTsKCiAgICByZXR1cm4gMDsKfQo=