The first implementation (operations without parentheses)