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