Emma and her friends are building sandcastles on the beach. Each sandcastle uses 6 buckets of sand, and they build 4 sandcastles. Each bucket of sand has 3 shovels full of sand in it. How many shovels of sand do they use in total?