Lucy has a mystery number. If she multiplies this number by 3 and then subtracts 5, she gets 1. What is Lucy's mystery number?