#include <bits/stdc++.h>
using namespace std;
int main() {
  int k, d;
  cin >> k >> d;
  if (k > 1 && d == 0)
    cout << "No solution" << endl;
  else {
    cout << d;
    for (int i = 1; i < k; i++) cout << 0;
  }
}
