Not sure where I went wrong

Hi, Can you help me in finding out where am I going wrong here? It fails in Test Case #3

hi @agrawaladitya192,
If solution doesn’t exist, just print “-1”.