Readalistoflongintegersfromtheconsoleandstorethenumbersinadynamicallycreatedarray.Thefirstnumberreadspecifiesthenumberoflongintegersinthelist.Whenthelistisloadedintothememorybuffer.Writeitouttotheconsoleinthereverseorderinwhichitwasread.