Bridge Constructor Portal: Level 7 solution