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