Ariston Interview Question

the logic for the code was asked.