Liang bought a basket of apples to make pies for her friends. The basket of apples weighed ppp pounds. Before she had time to make the pies, she ate 333 pounds of apples. There are 171717 pounds of apples left to make pies.
Write an equation to describe this situation.
What was the total weight of the basket of apples?