Courtney sold 47 cantaloupes at the farmers' market and had 23 left. Which equation could be used to find x, the number of cantaloupes Courtney had originally?

A.
x + 47 = 23
B.
x + 23 = -47
C.
x - 23 = 47
D.
x - 47 = -23

C. x - 23 = 47