Eszopiclone is a hypnotic drug used to treat insomnia. An initial dose of 3 mg is administered to a patient on the first day, with a maintenance dose of 1 mg for each day afterward. How many 1-mg tablets of eszopiclone are needed for a 30-day period?