Help needed to assign a numerical value from serial monitor

that's the problem, i didn't make any code because i was confused how to make it