SP21414 CNTINDX2 - Count The Indexes 2

Description

Let's deal with an array again, the most important data structure of computer science. You will be given an array. Now you have some operations to do. There will be three types of operations: - Type 1: Insert a number after a given index - Type 2: Change the value of an index. - Type 3: You will get a number and two indices i & j where i

Input Format

Each file contains one test case. The first line contains and integer N, the number of initial array elements (1

Output Format

For each operation of 3rd type, output the required answer in separated line.