#include <bits/stdc++.h>
using namespace std;
int n, m, k, i, a, b, c, d[100005];
int main() {
  cin >> n >> m;
  if (n == 1 && m == 0) {
    cout << 0;
    return 0;
  }
  if (m == 0) {
    cout << "No solution";
    return 0;
  }
  cout << m;
  for (i = 0; i < n - 1; i++) {
    cout << 0;
  }
}
