we can't hit 780 the maximum number we can get is 351
from the logic a=1 and b=2 etc.add them all up without repeat then the maximum number we can get is 351