A mystery number was decreased by 9, then tripled, followed by two doublings, resulting in the number 84. What is the mystery number?