#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, i = 0, n, d, t;
  cin >> d >> n;
  if (d != 1 && n == 0) {
    cout << "No solution\n";
    return 0;
  }
  cout << n;
  for (t = 1; t <= d - 1; t++) cout << 0;
  cout << endl;
  return 0;
}
