#include using namespace std; using ll=long long; #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define rep(i, n) rep2(i,0,n) int main(){ cin.tie(nullptr);ios_base::sync_with_stdio(false); int a,b;cin>>a>>b; set s; rep(i,b+1)rep(j,a+1)s.insert(i*5+j); for(auto i:s)if(i!=0)cout<