#include #define rep(i,n)for(long long i=0;i<(n);i++) using namespace std; typedef long long ll; typedef pair P; const int MOD = 1000000007; int main() { int n,m; cin >>n>>m; char op; cin >> op; vectorb(m); rep(i,m) cin >> b[i]; vectora(n); rep(i,n) cin >> a[i]; if(op=='+'){ rep(i,n){ rep(j,m){ cout<