Sunglass Hut interview question

Pretty standard