John sells cupcakes. He has been offered a salary position at two different companies to make and sell his cupcakes. The first company offered him a weekly salary of $477.50 plus a commission of $0.30 for each cupcake he sells. The second company offered him a weekly salary of $188.75 plus a commission of $1.35 for each cupcake he sells. How many cupcakes must John sell each week for the total pay from each company to be the same?