<li><strong><code>"Push"</code></strong>: pushes an integer to the top of the stack.</li>
<li><strong><code>"Pop"</code></strong>: removes the integer on the top of the stack.</li>
</ul>
<p>You also have a stream of the integers in the range <code>[1, n]</code>.</p>
<p>Use the two stack operations to make the numbers in the stack (from the bottom to the top) equal to <code>target</code>. You should follow the following rules:</p>
<li>If the stream of the integers is not empty, pick the next integer from the stream and push it to the top of the stack.</li>
<li>If the stack is not empty, pop the integer at the top of the stack.</li>
<li>If, at any moment, the elements in the stack (from the bottom to the top) are equal to <code>target</code>, do not read new integers from the stream and do not do more operations on the stack.</li>
<p>Return <em>the stack operations needed to build </em><code>target</code> following the mentioned rules. If there are multiple valid answers, return <strong>any of them</strong>.</p>