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