#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;
Bill Appleby Resigns: Albury Wodonga Health CEO Steps Down Amid Safety Concerns
In a significant development for the regional healthcare sector, Bill Appleby, the Chief...
The Rising Threat: Colorectal Cancer in Young Adults
Recent health data has revealed a startling and somber trend in the United States: colorectal cancer has...
North Carolina’s Economic Outlook: An Update from the State’s Economic Dean
North Carolina remains at a pivotal crossroads as we navigate the complexities of the...
HSBC Reportedly Planning Massive Layoffs in AI-Driven RestructuringThe global banking landscape is on the verge of a significant transformation as HSBC, one of the...
From Torture to Training: The Grim History of Your Favorite Gym EquipmentMost people today step onto a treadmill to improve their cardiovascular health, burn...
Is Eloise Bridgerton the Next Lead? New Clues for Season 5With the official confirmation that Benedict Bridgerton will lead the fourth season of Netflix’s...
The Surge of Lithium Extraction in Northeast Texas
The landscape of American energy is shifting, and surprisingly, the spotlight has turned toward Northeast Texas. Historically...