Revenge of the Pancakes solutions

Revenge of the Pancakes was solved using AWK by 3 contestants. Solution sizes: average 266 bytes (shortest: 195; longest: 333).