A truck is passing over a bridge with a weight limit of 50,000 pounds. When empty, the front of the truck weighs 19,800 pounds and the back of the truck weighs 12,500 pounds. How much cargo (C), in pounds, can the truck carry and still be allowed to pass over the bridge?