(3) The logic used in GRANT and UOBSH is:
The logic used in the code is as follows:
(+1), (+1), (+1), (+1), (+1), (+1)
This logic applies from right to left.
And, the logic used in PRIDE and FEJSQ is:
The logic used in the code is as follows:
(+1), (+1), (+1), (+1), (+1), (+1)
This logic applies from right to left.
In the same manner, SOLD is written as:
Hence, SOLD will be written as EMPT.