Given an empty array that should contain integers numbers, your task is to process a list of queries on it. Specifically, there are two types of queries: