import java.util.*;
class Movie{
int b;
mn = m;
this.c = c;
this.g = g;
this.b = b;
}
return mn;
}
return c;
}
return g;
}
int getb(){
return b;
}
}
class solution
{
public static void main
(String[] args
) {
Scanner sc
=new Scanner
(System.
in); Movie obj[] = new Movie[4];
for(int i = 0 ; i<4 ; i++){
int d = sc.nextInt(); sc.nextLine();
obj[i] = new Movie(a,b,c,d);
}
Movie xx[] = getMovieByGenre(obj , x);
int v = 0 ;
while(xx[v]!=null){
if(xx[v].getb()>80000000){
System.
out.
println("High Budget Movie"); }else{
System.
out.
println("Low Budget Movie"); }
v++;
}
}
static Movie
[] getMovieByGenre
(Movie obj
[] ,
String g
){ Movie ob[] = new Movie[4];
int j = -1;
for(int i = 0 ; i<4 ; i++){
if(obj[i].getg().equals(g)){
j++;
ob[j] = obj[i];
}
}
return ob;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwogY2xhc3MgTW92aWV7CiAgU3RyaW5nIG1uOwogIFN0cmluZyBjOwogIFN0cmluZyBnOwogIGludCBiOwogICAgTW92aWUoU3RyaW5nIG0sU3RyaW5nIGMsU3RyaW5nIGcsaW50IGIpewogICAgICBtbiA9IG07CiAgICAgIHRoaXMuYyA9IGM7CiAgICAgIHRoaXMuZyA9IGc7CiAgICAgIHRoaXMuYiA9IGI7CiAgICB9CiAgICAKICAgIAogICAgU3RyaW5nIGdldG1uKCl7CiAgICAgIHJldHVybiBtbjsKICAgIH0KICAgIFN0cmluZyBnZXRjKCl7CiAgICAgIHJldHVybiBjOwogICAgfQogICAgU3RyaW5nIGdldGcoKXsKICAgICAgcmV0dXJuIGc7CiAgICB9CiAgICBpbnQgZ2V0YigpewogICAgICByZXR1cm4gYjsKICAgIH0KfQpjbGFzcyBzb2x1dGlvbgoKewogIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpCiAgewogICAgU2Nhbm5lciBzYz1uZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwogICAgTW92aWUgb2JqW10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