The program is about LONGEST SUBSEQUENCE. I tried to give input until -1 is occurred but the output console is getting hanged after I enter -1. I tried running it on online comp