#include <iostream>
using namespace std;
int main() {
int age;
while (true) {
cin >> age;
if (age == 0)
break;
else if (age <= 20)
cout << "Young";
else if (age >= 21)
cout << "Adult";
}
}
Comments
Leave a comment