switch(x){
case 1:
if(x=90) {write(A); break;}
case 2:
if(x>=80){write(B);break;}
case 3:
if (x>=60){write(C);break;}
case 4:
if(x>=0){write(D);break;}
default:write(wrong) break;
}
switch(x){
case 1:
if(x=90) {write(A); break;}
case 2:
if(x>=80){write(B);break;}
case 3:
if (x>=60){write(C);break;}
case 4:
if(x>=0){write(D);break;}
default:write(wrong) break;
}