I wasn't expecting this.
Even though the output and answer values for the first row is the same (beauty value = 21), the judging environment gave me an error stating that my code outputted '20' for the first row although the log shows that my output is 21! The problem is 1114B. See attached image for more details.
Is this a bug or did I miss something?