To install a signal light on a small boat, arrange several lights in a row, and the different arrangements of lit lights and extinguished lights represent different signals. If possible, there are 50 signals used. So at least how many lamps should be installed.
要在一艘小船上安装信号灯，将若干盏灯排成一列，点亮的灯和熄灭的灯的不同排列方式代表不同的信号．如果可能用到的信号有50种．那么至少要安装多少盏灯．
<result>6</result>