#include <bits/stdc++.h>
using namespace std;
long long a, b;
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> a >> b;
  string s = "";
  s += to_string(b);
  if (b == 0 && a != 1) {
    cout << "No solution";
    return 0;
  }
  for (long long i = 1; i < a; i++) s += '0';
  cout << s;
}
