Find the length of the longest rod that can be placed in a room 12 m long, 9 m broad and 8 m high.
Find the length of the longest rod that can be placed in a room 16 m long, 12 m broad and 1023 m high.