And then we also output all these numbers in one line,

separated by spaces and a newline character.

So by this time, we've already output the whole input test on the screen.

Now what we need to do is actually need to launch

both our solutions on this input test and get two results,

the result of the main solution and the result of the fast solution.

After that, we compare those two results.

If they are different, it means that at least one of the solutions was wrong.

So we output words Wrong answer on the screen, and we also output

the first result, a space, and the second result and a newline character.

After that, we break our loop.

We can notice that our while loop is a so-called infinite loop, but

we actually end it as soon as we find some test for which our solutions differ.

If we don't find the different sum test, we just output the word OK on the screen,

to denote that actually both solutions have already computed the answers,

but the answers are the same.

And then we continue.

So we continue our infinite loop, in the search of the test

that will save us, that we can use to debug our solution.

And we wrote that code just in front of all the code to read the numbers

from the input, to compute the answer, and to output it to the screen.

So we basically inserted this code in our regular program.

But instead of reading numbers from the input,

it will first try to find the test for which our two solutions differ.

And in the next video, we will launch this stress test to find a test in which our

solutions differ, debug our fast solution, and fix it.