Solution for wraparound array for Thursday.