#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
using u64 = uint64_t;
using u128 = __uint128_t;
void solve() {
  long long n, k;
  cin >> n >> k;
  if (k == 0 && n == 1) {
    cout << 0;
    return;
  }
  if (k == 0 && n != 1) {
    cout << "No solution" << '\n';
    return;
  }
  cout << k;
  for (int i(1); i < n; ++i) cout << 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  solve();
  cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << "s.\n";
  return 0;
}
