stacks.scala 3 KB