#include using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i>a>>b; mapmp; rep(i,a+1) rep(j,b+1) mp[i+j*5]++; for(auto e:mp){ if(e.first==0) continue; cout<