In a game, you have the following:
Conditions
Task
Your task is to determine the maximum profit that a player can make.
Input format
Output format
Constraints
Player can choose 2 and 3. He can not choose any number twice as it will be added to restricted coin list.
2 moves will be wasted as he has no other option so profit=2+3=5.