on(press){
num_txt.text=random(105)-1;
if(num_txt.text<=15){
let_txt.text="A";
}else{
if((num_txt.text>=16)&&(num_txt.text<=30)){
let_txt.text="L";
}else{
if((num_txt.text>=31)&&(num_txt.text<=45)){
let_txt.text="B";
} else {
if((num_txt.text>=46)&&(num_txt.text<=60)){
let_txt.text="E";
} else {
if((num_txt.text>=61)&&(num_txt.text<=75)){
let_txt.text="R";
} else {
if((num_txt.text>=76)&&(num_txt.text<=90)){
let_txt.text="T";
}else {
if((num_txt.text>=91)&&(num_txt.text<=105)){
let_txt.text="O";
}
}
}
}
}
}
}
}