#include<bits/stdc++.h>
#include<vector>
using namespace std;
int main(){
int n,m;
vector<int>a;
int q=0,sig=1;
cin>>n>>m;
if(n<0){
n=-n;
sig-=2;
}
while(n--){
a.push_back(m);
}
vector<int>::iterator it;
for(it=a.begin();it!=a.end();it++)q+=*it;
q*=sig;
cout<<"PROD = "<<q<<endl;
}
vector法