#include<stdio.h>
int main(){
    int age;
    float height;
    scanf("%d", &age);
    scnaf("%f", &height);
    if(age < 0 || age > 150 || height < 30.0 || height >  250.0) {
        printf("Invalid input\n");
    }else{
        printf("Age: %d years\n", age);
        printf("Height: %.1f cm\n", height);
    }
    return 0;
}