#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;
Motive Technologies, Google-Backed Fleet Tracker, Files Publicly for IPO
The highly anticipated move by Motive Technologies Inc., a leading name in AI-enabled fleet management software,...
The Game Changer: FDA Greenlights Wegovy in Convenient Pill Form
The landscape of chronic weight management has just seen a monumental shift. The U.S. Food...
The Road Ends at the Mother Church: Finale Preview
The journey has been long, but the road finally reaches its destination tonight. The highly anticipated...
Public Health Experts Decry "Immoral" Funding Cuts to NIH and Science
The scientific community is voicing alarm following significant funding cuts targeting key medical research...
Putin Reaffirms Unyielding Stance on Ukraine Peace Terms
In a recent statement that eliminated any immediate hope for a softened diplomatic approach, Russian President Vladimir...
Do Possums Need Water? Understanding the Hydration Requirements of Marsupials
It’s a question many wildlife enthusiasts and homeowners ponder: Do possums need water to survive?...
A Major Disney World Rival Is Demolishing Two Iconic Theme Park Rides
The landscape of American amusement parks is defined by constant evolution, intense rivalry,...