Number systems and binaryMedium
Five lamps in the corridor
The hostel corridor has five lamps in a row, and after 9 PM the warden uses them as a quiet signal. Each lamp is either on or off. Reading from the left, the lamps are worth 16, 8, 4, 2 and 1, and the signal is the total of the lamps that are on. Tonight it calls the one room whose student gets the last free seat in the late-night reading room. Neha steps out with her books and sees the lamps: on, off, on, on, off. Her room is 22. The reading room closes its doors in two minutes.
Which room is tonight's signal calling? Type the number.