/* Helloプログラム */

#include <stdio.h>
 
main()
{
	int test;
	
	test = 55;
	
	if (test >= 60) {
		
		if (test >= 80) {
	        printf("優\n");
		} else {

			if (test < 70) {
			    printf("可");
			} else {
			    printf("良");
			}

		}

	} else {
	    printf("不合格\n");
	}
}
