#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, k, x, y, z, l, m, n, o, t, w,
      sum = 0, p, p1, f, x1, x2, y1, y2, x3, ans = 0, max1 = -9999999999999, c,
      d, min = 9999999999999, j, g, x4, z2, y3, z3;
  vector<pair<long long int, long long int> > v;
  vector<long long int>::iterator it;
  vector<long long int>::iterator it1;
  x = 0, y = 0, z = 0;
  string s, s1;
  cin >> x >> y;
  if (y == 0 && x >= 2) {
    cout << "No solution";
    return 0;
  }
  cout << y;
  for (i = 1; i < x; i++) {
    cout << "0";
  }
  return 0;
}
