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