#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m;
  cin >> m >> n;
  if (n == 0 && m != 1) {
    cout << "No solution";
    return 0;
  }
  cout << n;
  long long i;
  for (i = 1; i < m; i++) cout << 0;
}
