Samuel had a pole 408 m long. He cut 38 pieces from it. Each piece was 9 m long. What was the remaining length of the pole?