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