暴戾语言草
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("match.in","r",stdin);
freopen("match.out","w",stdout);
std::ios::sync_with_stdio(false);
cin.tie(0);
int noip,la,ji,dong,xi;
int n,m,s,l;
cin>>n>>m>>noip>>la>>ji>>dong>>xi;
int asshole=noip*la*ji*dong*xi;
for(int i=1;i<=xi;i++)
{
cin>>l>>s;
cout<<asshole*l*s<<endl;
}
return 0;
}