You're right -- we left Lima for Ariquipa sp? where we began to get used to the altitude. We happened to have a couple of days in and around Cusco before Machu Picchu. But we huffed and puffed until we were back at sea level.
But as I said it was well worth every huff and puff.