#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const int32_t M = 1e9 + 7;
const int32_t MM = 998244353;
long long gcd(long long a, long long b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
long long exetended_euclid(long long a, long long b, long long &x,
                           long long &y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  long long x1, y1;
  long long m = exetended_euclid(b % a, a, x1, y1);
  x = y1 - (b / a) * x1;
  y = x1;
  return m;
}
void solve() {
  long long n, m;
  cin >> n >> m;
  if (n > 1 && m == 0) {
    cout << "No solution\n";
  } else {
    string s = "";
    s += to_string(m);
    n--;
    while (n--) {
      s += "0";
    }
    cout << s << "\n";
  }
}
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(NULL);
  solve();
  return 0;
}
