#include <bits/stdc++.h>
using ll = long long int;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  ;
  cin.tie(NULL);
  ;
  ll n, m;
  cin >> n >> m;
  if (n > 1 && m == 0)
    cout << "No solution";
  else {
    cout << m;
    for (int i = 1; i < n; i++) cout << 0;
  }
}
