Can anyone tell me why I am getting RE

hey can anyone help me with this solution and tell me why i am getting RE in this.
Question code FRIENDGR

Consider the test input:

1
65 2
11111111111111111111111111111111111111111111111111111111111111111

thnxx understood my mistake

1 Like