#include <bits/stdc++.h>
using namespace std;
int main() {
  int d, n;
  scanf("%d %d", &d, &n);
  d--;
  if (d >= 1 && n == 0) {
    printf("No solution\n");
    return 0;
  }
  printf("%d", n);
  int q;
  for (q = 1; q <= d; q++) {
    printf("0");
  }
  printf("\n");
  return 0;
}
