#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, m;
  cin >> n >> m;
  if (m == 0 and n > 1) {
    cout << "No solution" << endl;
    return 0;
  }
  cout << m;
  for (long long int i = 1; i < n; i++) cout << "0";
  cout << endl;
}
