You recieved $77 in all selling paintings. You sold one painting for $29 and the rest for $16 each. Solve the equation to find x, the number of $16 paintings you sold.