Serial read_problem

Yes, the code doesn't work, I need to send "30" but this code works only for numbers below 9.