Logan and his ARRAY Queries | CodeChef