#include <bits/stdc++.h>
using namespace std;
long long GCDFast(unsigned long long a, unsigned long long b) {
  if (b == 0) return a;
  long long c = a % b;
  return GCDFast(b, c);
}
int main() {
  unsigned long long r, l;
  cin >> r >> l;
  unsigned long long l1 = 0;
  if (r == 1) r++;
  if (GCDFast(r, l) != 1) {
    for (unsigned long long i = r + 1; i < l; i++) {
      if ((GCDFast(r, i) == 1) && (GCDFast(i, l) == 1)) {
        cout << r << " " << i << " " << l;
        return 0;
      }
    }
  } else {
    if (r % 2 != 0 && l - r > 2) r++;
    for (unsigned long long i = r + 1; i < l; i++) {
      if (GCDFast(r, i) != 1) l1 = i;
    }
    for (unsigned long long i = r + 1; i < l1; i++) {
      if ((GCDFast(r, i) == 1) && (GCDFast(i, l1) == 1)) {
        cout << r << " " << i << " " << l1;
        return 0;
      }
    }
  }
  cout << "-1";
}
