#include <iostream>
using namespace std;
int main(){
long long int m,b,s=0,x;
cin>>m>>b;
for(int i=0;i<=b;i++){
x=(b-i)*m;
s=max(s,((i+1)*(x+1)*(i+x))/2);
}
cout<<s;
The Unanimous Truth: Why 99% of Scientists Believe in Evolution
In the public discourse, the debate between evolutionary theory and creationism often appears balanced. However,...
Charles Cross Secures Future with Massive Four-Year Extension with Seahawks
The Seattle Seahawks organization demonstrated its commitment to building a formidable foundation by securing one...
The Fateful Finale: What Happens to Male Octopuses After Mating?
The ocean is home to countless wonders, but few natural phenomena are as dramatically tragic...
The Ultimate Crossover: Broadway Star Derek Klena Joins the Savannah Bananas
In a surprising twist that perfectly captures the unique spirit of the viral baseball...
The Forces Behind Mineral Resources’ 10% Share Price Surge
Shareholders of Mineral Resources Ltd (ASX: MIN) are breathing a collective sigh of relief, if not...