Problem: After the Search Ultimate program that searched for strings in a text failed, Igor K. got to think: "Why on Earth does my program work so slowly?" As he double-checked his code, he said: "My code contains no errors, yet I know how we will improve Search Ultimate!" and took a large book from the shelves. The book read "Azembler. Principally New Approach".

Having carefully thumbed through the book, Igor K. realised that, as it turns out, you can multiply the numbers dozens of times faster. "Search Ultimate will be faster than it has ever been!" — the fellow shouted happily and set to work.

Let us now clarify what Igor's idea was. The thing is that the code that was generated by a compiler was far from perfect. Standard multiplying does work slower than with the trick the book mentioned.

The Azembler language operates with 26 registers (eax, ebx, ..., ezx) and two commands: 

  * [x] — returns the value located in the address x. For example, [eax] returns the value that was located in the address, equal to the value in the register eax. 
  * lea x, y — assigns to the register x, indicated as the first operand, the second operand's address. Thus, for example, the "lea ebx, [eax]" command will write in the ebx register the content of the eax register: first the [eax] operation will be fulfilled, the result of it will be some value that lies in the address written in eax. But we do not need the value — the next operation will be lea, that will take the [eax] address, i.e., the value in the eax register, and will write it in ebx. 



On the first thought the second operation seems meaningless, but as it turns out, it is acceptable to write the operation as 

lea ecx, [eax + ebx],

lea ecx, [k*eax]

or even

lea ecx, [ebx + k*eax],

where k = 1, 2, 4 or 8.

As a result, the register ecx will be equal to the numbers eax + ebx, k*eax and ebx + k*eax correspondingly. However, such operation is fulfilled many times, dozens of times faster that the usual multiplying of numbers. And using several such operations, one can very quickly multiply some number by some other one. Of course, instead of eax, ebx and ecx you are allowed to use any registers.

For example, let the eax register contain some number that we should multiply by 41. It takes us 2 lines:

lea ebx, [eax + 4*eax] // now ebx = 5*eax

lea eax, [eax + 8*ebx] // now eax = eax + 8*ebx = 41*eax

Igor K. got interested in the following question: what is the minimum number of lea operations needed to multiply by the given number n and how to do it? Your task is to help him.

Consider that at the initial moment of time eax contains a number that Igor K. was about to multiply by n, and the registers from ebx to ezx contain number 0. At the final moment of time the result can be located in any register.

Input

The input data contain the only integer n (1 ≤ n ≤ 255), which Igor K. is about to multiply.

Output

On the first line print number p, which represents the minimum number of lea operations, needed to do that. Then print the program consisting of p commands, performing the operations. It is guaranteed that such program exists for any n from 1 to 255.

Use precisely the following format of commands (here k is equal to 1, 2, 4 or 8, and x, y and z are any, even coinciding registers):

lea x, [y]

lea x, [y + z]

lea x, [k*y]

lea x, [y + k*z]

Please note that extra spaces at the end of a command are unacceptable.

Examples

Input

41


Output

2
lea ebx, [eax + 4*eax]
lea ecx, [eax + 8*ebx]


Input

2


Output

1
lea ebx, [eax + eax]


Input

4


Output

1
lea ebx, [4*eax]

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
inline void pisz(int n) { printf("%d\n", n); }
template <typename T, typename TT>
ostream& operator<<(ostream& s, pair<T, TT> t) {
  return s << "(" << t.first << "," << t.second << ")";
}
template <typename T>
ostream& operator<<(ostream& s, vector<T> t) {
  for (int(i) = 0; (i) < (t.size()); ++(i)) s << t[i] << " ";
  return s;
}
string ciag[300];
int main() {
  ciag[1] = "0\n";
  ciag[2] = "1\nlea ebx, [2*eax]";
  ciag[3] = "1\nlea ebx, [eax + 2*eax]";
  ciag[4] = "1\nlea ebx, [4*eax]";
  ciag[5] = "1\nlea ebx, [eax + 4*eax]";
  ciag[6] = "2\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]";
  ciag[7] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 2*ebx]";
  ciag[8] = "1\nlea ebx, [8*eax]";
  ciag[9] = "1\nlea ebx, [eax + 8*eax]";
  ciag[10] = "2\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]";
  ciag[11] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*eax]";
  ciag[12] = "2\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]";
  ciag[13] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*ebx]";
  ciag[14] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + 2*ecx]";
  ciag[15] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]";
  ciag[16] = "2\nlea ebx, [2*eax]\nlea ecx, [8*ebx]";
  ciag[17] = "2\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[18] = "2\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[19] = "2\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 2*ebx]";
  ciag[20] = "2\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]";
  ciag[21] = "2\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 4*ebx]";
  ciag[22] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + 8*ebx]";
  ciag[23] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ecx + "
      "8*eax]";
  ciag[24] = "2\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]";
  ciag[25] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[26] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + 4*ecx]";
  ciag[27] = "2\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[28] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + 2*ecx]";
  ciag[29] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + "
      "2*eax]";
  ciag[30] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + 4*ecx]";
  ciag[31] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + "
      "2*ecx]";
  ciag[32] = "2\nlea ebx, [4*eax]\nlea ecx, [8*ebx]";
  ciag[33] = "2\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[34] = "3\nlea ebx, [2*eax]\nlea ecx, [4*eax]\nlea edx, [ebx + 8*ecx]";
  ciag[35] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 2*ecx]";
  ciag[36] = "2\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[37] = "2\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 4*ebx]";
  ciag[38] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 2*ecx]";
  ciag[39] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[40] = "2\nlea ebx, [8*eax]\nlea ecx, [ebx + 4*ebx]";
  ciag[41] = "2\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[42] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + 4*ecx]";
  ciag[43] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*eax]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[44] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + 8*ebx]";
  ciag[45] = "2\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[46] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "1*ecx]";
  ciag[47] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[48] = "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [8*ecx]";
  ciag[49] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [eax + 8*ecx]";
  ciag[50] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + 8*ecx]";
  ciag[51] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 2*ecx]";
  ciag[52] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + 4*ecx]";
  ciag[53] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[54] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + 8*ecx]";
  ciag[55] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "2*ecx]";
  ciag[56] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ebx + 2*ecx]";
  ciag[57] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "2*ecx]";
  ciag[58] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*eax]\nlea eex, [edx + 8*ecx]";
  ciag[59] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 2*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[60] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + 4*ecx]";
  ciag[61] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[62] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[63] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[64] = "2\nlea ebx, [8*eax]\nlea ecx, [8*ebx]";
  ciag[65] = "2\nlea ebx, [8*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[66] = "3\nlea ebx, [2*eax]\nlea ecx, [8*eax]\nlea edx, [ebx + 8*ecx]";
  ciag[67] =
      "3\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 2*ecx]";
  ciag[68] = "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [4*ecx]";
  ciag[69] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 4*ecx]";
  ciag[70] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[71] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [eax + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[72] = "2\nlea ebx, [8*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[73] = "2\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 8*ebx]";
  ciag[74] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[75] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[76] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 2*ecx]";
  ciag[77] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[78] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[79] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[80] = "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [8*ecx]";
  ciag[81] = "2\nlea ebx, [eax + 8*eax]\nlea ecx, [ebx + 8*ebx]";
  ciag[82] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + 8*ecx]";
  ciag[83] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "2*ecx]";
  ciag[84] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[85] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 4*ecx]";
  ciag[86] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*eax]\nlea eex, [ecx + 8*edx]";
  ciag[87] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + "
      "2*ecx]";
  ciag[88] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ecx + 8*ebx]";
  ciag[89] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [eax + "
      "8*ecx]";
  ciag[90] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + 8*ecx]";
  ciag[91] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[92] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "1*ecx]\nlea eex, [edx + 8*ecx]";
  ciag[93] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 2*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[94] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[95] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "2*ecx]";
  ciag[96] = "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [8*ecx]";
  ciag[97] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [eax + 8*ecx]";
  ciag[98] =
      "4\nlea ebx, [2*eax]\nlea ecx, [4*eax]\nlea edx, [ecx + 8*eax]\nlea eex, "
      "[ebx + 8*edx]";
  ciag[99] =
      "3\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 2*ecx]";
  ciag[100] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + 8*ecx]";
  ciag[101] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[102] =
      "4\nlea ebx, [2*eax]\nlea ecx, [4*eax]\nlea edx, [ebx + 8*ecx]\nlea eex, "
      "[edx + 2*edx]";
  ciag[103] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[104] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[105] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [eax + "
      "8*ecx]";
  ciag[106] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[107] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[108] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + 8*ecx]";
  ciag[109] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[110] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[111] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[112] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [8*edx]";
  ciag[113] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[114] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ebx + 8*edx]";
  ciag[115] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[116] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "4*ebx]\nlea eex, [edx + 8*ecx]";
  ciag[117] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ecx + "
      "8*ecx]";
  ciag[118] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[119] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [ecx + 2*edx]";
  ciag[120] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ecx + 4*ecx]";
  ciag[121] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + "
      "8*ecx]";
  ciag[122] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[123] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[124] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[125] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "4*ecx]";
  ciag[126] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [edx + 8*edx]";
  ciag[127] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [eax + 2*edx]";
  ciag[128] = "3\nlea ebx, [2*eax]\nlea ecx, [8*ebx]\nlea edx, [8*ecx]";
  ciag[129] = "3\nlea ebx, [2*eax]\nlea ecx, [8*ebx]\nlea edx, [eax + 8*ecx]";
  ciag[130] = "3\nlea ebx, [2*eax]\nlea ecx, [8*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[131] =
      "3\nlea ebx, [8*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 2*ecx]";
  ciag[132] = "3\nlea ebx, [4*eax]\nlea ecx, [4*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[133] =
      "3\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 4*ecx]";
  ciag[134] =
      "4\nlea ebx, [2*eax]\nlea ecx, [4*eax]\nlea edx, [eax + 8*ecx]\nlea eex, "
      "[ebx + 4*edx]";
  ciag[135] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ecx + "
      "8*ecx]";
  ciag[136] = "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [8*ecx]";
  ciag[137] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + 8*ecx]";
  ciag[138] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[139] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [eax + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[140] =
      "3\nlea ebx, [4*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[141] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 4*eax]\nlea edx, [eax + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[142] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [eax + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[143] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[144] = "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [8*ecx]";
  ciag[145] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + 8*ecx]";
  ciag[146] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[147] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "2*ecx]";
  ciag[148] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[149] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[150] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[151] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [eax + 2*edx]";
  ciag[152] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + 2*ecx]";
  ciag[153] =
      "3\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 8*ecx]";
  ciag[154] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[155] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + "
      "2*ecx]";
  ciag[156] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[157] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[158] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 2*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[159] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[160] = "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [8*ecx]";
  ciag[161] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + 8*ecx]";
  ciag[162] =
      "3\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + 8*ecx]";
  ciag[163] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "2*ecx]";
  ciag[164] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[165] =
      "3\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 4*ecx]";
  ciag[166] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ebx + 2*edx]";
  ciag[167] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [edx + 2*eax]";
  ciag[168] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + 4*ecx]";
  ciag[169] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [eax + "
      "8*ecx]";
  ciag[170] =
      "4\nlea ebx, [2*eax]\nlea ecx, [4*eax]\nlea edx, [ebx + 8*ecx]\nlea eex, "
      "[edx + 4*edx]";
  ciag[171] =
      "3\nlea ebx, [eax + 8*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "2*ecx]";
  ciag[172] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [eax + "
      "8*ecx]\nlea eex, [ecx + 2*edx]";
  ciag[173] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[174] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ecx + 2*edx]";
  ciag[175] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "2*ecx]\nlea eex, [edx + 4*edx]";
  ciag[176] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [8*edx]";
  ciag[177] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [eax + 8*edx]";
  ciag[178] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ebx + 8*edx]";
  ciag[179] =
      "4\nlea ebx, [8*eax]\nlea ecx, [eax + 2*ebx]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 2*edx]";
  ciag[180] =
      "3\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ecx + 8*ecx]";
  ciag[181] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "4*ecx]";
  ciag[182] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[183] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[184] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "1*ecx]\nlea eex, [edx + 8*ecx]";
  ciag[185] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "4*ecx]";
  ciag[186] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[187] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [edx + 8*ecx]";
  ciag[188] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[189] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ecx + "
      "8*ecx]";
  ciag[190] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + "
      "8*ecx]\nlea eex, [ecx + 2*edx]";
  ciag[191] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[192] = "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [8*ecx]";
  ciag[193] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [eax + 8*ecx]";
  ciag[194] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [4*ecx]\nlea eex, "
      "[ebx + 8*edx]";
  ciag[195] =
      "3\nlea ebx, [8*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + 2*ecx]";
  ciag[196] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [eax + "
      "8*ecx]\nlea eex, [4*edx]";
  ciag[197] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [eax + "
      "8*ecx]\nlea eex, [eax + 4*edx]";
  ciag[198] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [edx + 8*edx]";
  ciag[199] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [eax + 2*edx]";
  ciag[200] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ebx + 8*ecx]";
  ciag[201] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "8*ecx]";
  ciag[202] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[203] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[204] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [4*edx]";
  ciag[205] =
      "3\nlea ebx, [eax + 4*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[206] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[207] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [eax + "
      "4*ecx]\nlea eex, [edx + 2*edx]";
  ciag[208] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [8*edx]";
  ciag[209] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [eax + 8*edx]";
  ciag[210] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ebx + 8*edx]";
  ciag[211] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[212] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[213] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 4*ebx]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[214] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[215] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[216] =
      "3\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ecx + 8*ecx]";
  ciag[217] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [eax + "
      "8*ecx]";
  ciag[218] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[219] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "8*ecx]";
  ciag[220] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[221] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[222] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "8*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[223] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [eax + 2*edx]";
  ciag[224] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [8*edx]";
  ciag[225] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "8*ecx]";
  ciag[226] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + "
      "8*eax]\nlea eex, [ecx + 8*edx]";
  ciag[227] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[228] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ebx + 8*edx]";
  ciag[229] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "4*ebx]\nlea eex, [ecx + 4*edx]";
  ciag[230] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 2*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[231] =
      "4\nlea ebx, [4*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [ecx + 2*edx]";
  ciag[232] =
      "4\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ebx + "
      "4*ebx]\nlea eex, [edx + 8*ecx]";
  ciag[233] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + "
      "2*eax]\nlea eex, [eax + 8*edx]";
  ciag[234] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [edx + 8*edx]";
  ciag[235] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + "
      "2*eax]\nlea eex, [ebx + 8*edx]";
  ciag[236] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[237] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 4*eax]\nlea edx, [ecx + "
      "8*ebx]\nlea eex, [ecx + 8*edx]";
  ciag[238] =
      "4\nlea ebx, [eax + 4*eax]\nlea ecx, [eax + 1*ebx]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[239] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [eax + 2*ebx]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[240] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [8*edx]";
  ciag[241] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [eax + 8*edx]";
  ciag[242] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [ebx + 8*edx]";
  ciag[243] =
      "3\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 8*ebx]\nlea edx, [ecx + "
      "8*ecx]";
  ciag[244] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [ebx + 4*edx]";
  ciag[245] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [eax + "
      "8*ecx]\nlea eex, [edx + 4*edx]";
  ciag[246] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ecx + "
      "4*ecx]\nlea eex, [ecx + 8*edx]";
  ciag[247] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [eax + 2*edx]";
  ciag[248] =
      "4\nlea ebx, [8*eax]\nlea ecx, [ebx + 2*ebx]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [ecx + 4*edx]";
  ciag[249] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [ebx + 2*edx]";
  ciag[250] =
      "4\nlea ebx, [2*eax]\nlea ecx, [ebx + 4*eax]\nlea edx, [ebx + "
      "8*ecx]\nlea eex, [edx + 4*edx]";
  ciag[251] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [eax + "
      "2*ecx]\nlea eex, [ebx + 8*edx]";
  ciag[252] =
      "4\nlea ebx, [4*eax]\nlea ecx, [ebx + 8*eax]\nlea edx, [ebx + "
      "2*ecx]\nlea eex, [edx + 8*edx]";
  ciag[253] =
      "4\nlea ebx, [eax + 2*eax]\nlea ecx, [ebx + 4*ebx]\nlea edx, [ebx + "
      "4*ecx]\nlea eex, [eax + 4*edx]";
  ciag[254] =
      "5\nlea ebx, [2*eax]\nlea ecx, [eax + 2*eax]\nlea edx, [eax + "
      "2*ecx]\nlea eex, [edx + 8*edx]\nlea efx, [ebx + 4*eex]";
  ciag[255] =
      "4\nlea ebx, [2*eax]\nlea ecx, [eax + 8*ebx]\nlea edx, [ecx + "
      "2*ecx]\nlea eex, [edx + 4*edx]";
  int(n);
  scanf("%d", &(n));
  printf("%s", ciag[n].c_str());
}