Ricardo lost 6 golf balls ,then lost 4 on the course today.He now has 18 golf balls. How many golf balls did Ricardo have to begin with?