Daniel had 54 noodles. He gave 12 noodles to William. How many noodles did Daniel have left?