#include<bits/stdc++.h> using namespace std; int main() { int k , j; cin >> k >> j; for(int i =k ; i<=j; i-=3) { cout << i << " " ; } return 0; }