note

  • 某合宿 day1 no2 div1 A

implementation

#!/usr/bin/env python3
n = int(input())
for _ in range(n):
    a = list(map(int, input().split()))
    print([ "Beginner", "Junior Developer", "Middle Developer", "Senior Developer", "Hacker", "Jeff Dean" ][sum(a)])