At the beginning of the week, James has 8 quarts of milk. At the end of the week there are 412 cups of milk left.

How many cups of milk did James drink during the week?