believes that one cannot make an omelet without breaking eggs.
For a subset of , we calculate the score of as follows:
- Initialize the score as .
- For any , add to the score.
- For any pair of integers satisfying , , and , if there exists positive integer such that , subtract from the score.
Find the maximum possible score over the choice of .