A safe has 10,000 possible lock combinations. If a thief tried 80 combinations the first hour, then 40 every hour after, how many hours would it take before trying them all?