Tennis balls cost $7 for a can of 3 he gives the cashiet $40 for the balls and receives$12 in change how many balls did steve buy?