First stack contains A ... Z <- top Second stack contains Z ... A <- top Therefore, the printout is A ... Z