this interactive problem you use flush operation print line for example C use fflushstdout Java use Systemoutflush Pascal flushoutputin problem guess array unknown the information initially length n array aThe allow action ask sum element index formally print index j index distinct then program read response single integer equal aiajIt easy prove possible guess array n requestsWrite program guess array make n request