import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double height = scanner.nextDouble(); double weight = scanner.nextDouble(); //write your code here...... double index=weight/(height*height); String s; if(index>24.9) s="偏胖"; else if(index>=20.9) s="适中"; else if(index>=18.5) s="苗条"; else s="偏瘦"; System.out.println(s); } }