John's dad pays him 70 cents for each correct answer he provides in his math homework and fines him 30 cents for each incorrect answer. Today, John received $15 after completing 50 problems. How many problems did John answer correctly?