#include<stdio.h>
#include<string.h>

struct Patient{
    char name[101];
    int age;
    float height;
    
};
int main(){
    
    struct Patient p;
    
    fgets(p.name, sizeof(p.name),stdin);
    
    
    p.name[strcspn(p.name,"\n ")] = 0;
    
    //if(scanf("%d " ,&p.age) !=1 || scanf("%f ", &p.height) !=1){
        printf("Invalid input\n ");
        return 0;
    }
    if(p.age<0 || p.age > 150 || p.height < 0 || p.height > 3.0){
        printf("Invalid input\n ");
    } else {
        printf("Name: %s", p.name);
        printf("Age: %d\n", p.age);
        printf("Height: %.2f feet\n ", p.height);
    }
   return 0;
}