Jacks mother gave him 50 chocolates to give to his friends, he gave 3 chocolates to each of his friends and still had 2 chocolates left. How many friends does Jack have, write an equation for it.