#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, c = 0, x, y;
  cin >> x >> y;
  if (x > 1 && y == 0)
    cout << "No solution";
  else if (y > 0) {
    if (x > 1) {
      cout << "1";
      for (i = 0; i < x - 2; i++) cout << "0";
      cout << y - 1;
    } else
      cout << y;
  } else
    cout << "0";
}
