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