is a problem used to test one's basic knowledge for competitive programming. Here is yet another boring variation of it.
You have two integers, and . You want to make them equal. To do so, you can perform several steps, where each step is one of the following:
Unfortunately, is a hard problem for us, so you are allowed to make at most 5000 steps.