In the bottom of a well, 45 feet deep, there was a frog which commenced traveling toward the top. In his journey he ascended 3 feet every day, but fell back 2 feet every night. In how many days did he get out?