Hi @saket21 i seen your INOI solution for Triathlon i can not understand why you are checking that Y[n-1]==Xz
Here is your solution