<p>You are given two <strong>non-negative</strong> integers <code>num1</code> and <code>num2</code>.</p>
<p>In one <strong>operation</strong>, if <code>num1 >= num2</code>, you must subtract <code>num2</code> from <code>num1</code>, otherwise subtract <code>num1</code> from <code>num2</code>.</p>
<ul>
<li>For example, if <code>num1 = 5</code> and <code>num2 = 4</code>, subtract <code>num2</code> from <code>num1</code>, thus obtaining <code>num1 = 1</code> and <code>num2 = 4</code>. However, if <code>num1 = 4</code> and <code>num2 = 5</code>, after one operation, <code>num1 = 4</code> and <code>num2 = 1</code>.</li>
</ul>
<p>Return <em>the <strong>number of operations</strong> required to make either</em><code>num1 = 0</code><em>or</em><code>num2 = 0</code>.</p>