#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long i, j, x, y, n, m, p, k, d;
  cin >> k >> d;
  if (k > 1 && d == 0) {
    cout << "No solution" << endl;
  } else {
    cout << d;
    for (long long i = 0; i < k - 1; i++) cout << "0";
    cout << endl;
  }
  return 0;
}
