#include <bits/stdc++.h>
FILE *in = stdin;
FILE *out = stdout;
int n;
int res;
int rn;
int reg[10];
int via1[10];
int via2[10], via3[10], via4[10];
int rv1[10];
int rv2[10], rv3[10], rv4[10];
void input() { fscanf(in, "%d", &n); }
void back2() {
  if (rn - 1 >= res) {
    return;
  }
  if (reg[rn - 1] == n) {
    if (res > rn - 1) {
      res = rn - 1;
      for (int i = 0; i < rn; i++) {
        rv1[i] = via1[i];
        rv2[i] = via2[i];
        rv3[i] = via3[i];
        rv4[i] = via4[i];
      }
    }
    return;
  }
  for (int i = 0; i < rn; i++) {
    for (int j = 4; j <= 8; j *= 2) {
      via1[rn] = 2;
      via2[rn] = i;
      via3[rn] = j;
      reg[rn++] = reg[i] * j;
      back2();
      rn--;
    }
    for (int j = 0; j < rn; j++) {
      via1[rn] = 1;
      via2[rn] = i;
      via3[rn] = j;
      reg[rn++] = reg[i] + reg[j];
      back2();
      rn--;
      for (int k = 2; k <= 8; k *= 2) {
        via1[rn] = 3;
        via2[rn] = i;
        via3[rn] = j;
        via4[rn] = k;
        reg[rn++] = reg[i] + reg[j] * k;
        back2();
        rn--;
      }
    }
  }
}
void back1(int cnt, int x) {
  if (cnt <= 0) {
    back2();
    return;
  }
  for (int i = x + 1; i <= 9; i++) {
    if (i == 7) continue;
    via1[rn] = reg[rn++] = x;
    back1(cnt - 1, i);
    rn--;
  }
}
void process() {
  res = 6;
  for (int i = 0; i <= 4; i++) {
  }
  rn = 1;
  reg[0] = 1;
  back2();
}
void output() {
  fprintf(out, "%d\n", res);
  for (int i = 1; i <= res; i++) {
    if (rv1[i] == 1)
      fprintf(out, "lea e%cx, [e%cx + e%cx]", char(i + 'a'), char(rv2[i] + 'a'),
              char(rv3[i] + 'a'));
    if (rv1[i] == 2)
      fprintf(out, "lea e%cx, [%d*e%cx]", char(i + 'a'), rv3[i],
              char(rv2[i] + 'a'));
    if (rv1[i] == 3)
      fprintf(out, "lea e%cx, [e%cx + %d*e%cx]", char(i + 'a'),
              char(rv2[i] + 'a'), rv4[i], char(rv3[i] + 'a'));
    if (i != res) fprintf(out, "\n");
  }
}
int main() {
  input();
  process();
  output();
  fcloseall();
  return 0;
}
