#include <bits/stdc++.h>
using namespace std;
int a[101][101];
int main() {
  int k, d;
  cin >> k >> d;
  if (d == 0 && k != 1) {
    cout << "No solution";
    return 0;
  }
  cout << d;
  k = k - 1;
  while (k > 0) {
    cout << 0;
    k = k - 1;
  }
  return 0;
}
