Hint: The lightbulbs on the top floor have two characteristics that can be controlled by the switches downstairs. Light/No light is only one of them.