It takes 405 bricks to build 1 wall of a room. If there are 5 rooms (with 4 walls each), how many bricks will be needed to build all the walls?