Of course it is allowed (in your workings, I assume). If it gets you to the correct answer you can use an abacus and cowrie shells. No one is interested in how you get from A to B just so long as you get there (or are well along the way in the right direction)