after celebration stack dirty plate Nikitas kitchen Nikita wash dryer in dryer plate place stack plate size increase the size plate distinctnikita free space specifically place stack plate therefore perform operation take number plate 1 dirty stack wash intermediate stack take number plate 1 b intermediate stack stack dryer Note perform operation plate order operationyou give size plate s1s2sn order dirty stack integer b all size distinct Write program determine Nikita plate increase order dryer if able program find sequence operation necessary optimal achieve