#include using namespace std; using ll = long long; using vll=vector; templateT get(){T r;cin>>r;return r;} templatevector get_v(ll n){vector v;for(int i=0;i!=n;i++){v.push_back(get());};return v;} templatevoid show_v(vector v){ for(ll i=0;i!=v.size()-1;i++) cout<(); vll p={2,3,5,7,11,13},g={4,6,8,9,10,12}; vll prox(13*12+1,0); for(auto const &i:p){ for(auto const &j:g){ prox[i*j]++; } }; cout<