백준 #29790번 임스의 메이플컵

jhj·2024년 2월 17일

백준 JAVA

목록 보기
377/583
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int u = sc.nextInt();
		int l = sc.nextInt();
		
		if(n >= 1000) {
			if(u >= 8000 || l >= 260) {
				System.out.println("Very Good");
			}else {
				System.out.println("Good");
			}
		}else {
			System.out.println("Bad");
		}
		sc.close();
	}
}
profile
개발자를 꿈꾸는

0개의 댓글