public class HelloWorld {
public static void main(String[] args) {
int age=25;
String qq;
if(age>60)
qq="老年";
else if(age<60)
qq="中年";
else if (age<40)
qq="成年";
else if(age<18)
qq="幼年";
System.out.println(qq);