A waiter got $3 as a tip from each tipping customer. During lunch, the waiter had 10 customers, but 5 of them didn't leave a tip. How much money did he earn during lunch?