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