#include <bits/stdc++.h>
using namespace std;
const int oo = 0x3f3f3f3f;
const double eps = 1e-9;
int memo[12];
int len[12];
int op[12][3];
int best, n;
int bop[12][3];
void rek(int dep) {
  if (dep >= best) return;
  int le = dep + 1;
  int maxi = memo[dep];
  if (maxi > n) return;
  if (maxi == n) {
    best = dep;
    for (int i = (0); i < (dep); i++)
      for (int j = (0); j < (3); j++) bop[i][j] = op[i][j];
    return;
  }
  for (int p1 = int(le) - 1; p1 >= (0); p1--)
    for (int p = int(le) - 1; p >= (0); p--)
      for (int i = int(4) - 1; i >= (0); i--) {
        int res = (1 << i) * memo[p] + memo[p1];
        if (res <= maxi) continue;
        op[dep][0] = p1;
        op[dep][1] = 1 << i;
        op[dep][2] = p;
        memo[le] = res;
        rek(le);
      }
  for (int p = int(le) - 1; p >= (0); p--)
    for (int i = int(4) - 1; i >= (1); i--) {
      int res = (1 << i) * memo[p];
      if (res <= maxi) continue;
      op[dep][0] = -1;
      op[dep][1] = 1 << i;
      op[dep][2] = p;
      memo[le] = res;
      rek(le);
    }
}
int calc(int num) {
  best = 6;
  memo[0] = 1;
  n = num;
  rek(0);
  return best;
}
int main() {
  int N;
  cin >> N;
  calc(N);
  cout << best << endl;
  for (int i = (0); i < (best); i++) {
    cout << "lea e" << (char)('b' + i) << "x, [";
    if (bop[i][0] != -1) cout << "e" << (char)('a' + bop[i][0]) << "x + ";
    if (bop[i][1] != 1) cout << bop[i][1] << "*";
    cout << "e" << (char)('a' + bop[i][2]) << "x]\n";
  }
  return 0;
}
