A carpenter has a board 400 inches long and 10 inches wide. He makes 5 identical shelves with the board and still has a piece of board 20 inches long left over. how long is each shelf