Tax Trouble

EngineerMan Co's accounting department have been lazy this Easter, and forgot to file the tax returns.

Thankfully they just need some help calculating their total spending, and have given you a list of all their transactions they need summed up.

In true software engineer fashion, they have recorded the values in all sorts of different numbering systems, some people like hex, others octal, and binary.

The engineers' are only allowed to spend up to $65535.00 per transaction, with the companies spending limit being $4294967296.

Test Cases
Test Case 1
Argument 1 0xFF,245
Expected Output 500
Test Case 2
Argument 1 0b11111111,0o365,0xFF,245
Expected Output 1000
Test Case 3
Argument 1 0xFFFF,0b1111111111111111
Expected Output 131070
Your Submission
You are not logged in. To submit a solution, click the Login button at the top right.
Submissions

Login/Register

At the moment only Discord login is supported.

Login with Discord