Codechef Array Practice Third