Jennifer invites her friends over for a party. Her mother buys a value pack of party favors. She removes 2 damaged pieces from the entire lot and divides the rest equally in 10 goody bags. If each bag contains 7 party favors, how many party favors were there initially?