#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b;
  cin >> a >> b;
  if (!b && a > 1) return cout << "No solution", 0;
  cout << b;
  for (int i = 0; i < a - 1; i++) cout << 0;
}
