SP2713 GSS4 - Can you answer these queries IV

Description

You are given a sequence A of N(N

Input Format

N/A

Output Format

N/A