#include <bits/stdc++.h>
int main(void) {
  int n, m, t, x[200], x2[200], y[90], flag = 0, c1 = 1, c2 = 0, c3 = 0, i = 1,
                                       q1 = 0, q2 = 0;
  scanf("%d%d", &n, &m);
  if (m == 0) {
    if (n == 1)
      printf("0");
    else
      printf("No solution");
  } else {
    printf("%d", m);
    while (i < n) {
      printf("0");
      i++;
    }
  }
  return 0;
}
