#include <bits/stdc++.h>
using namespace std;
const int MAXN = (int)(1e5 + 1e1);
const double PI = acos(-1.0);
long long a, m, t;
int main() {
  cin >> m >> a;
  if (a == 0 && m > 1) {
    cout << "No solution";
    return 0;
  }
  cout << a;
  for (int i = 1; i < m; i++) cout << 0;
  return 0;
}
