# 884d895a399223b0f5e492cd07d5a5504e1da2c7a389cd2dca0ca8a7045458a1 Elan 1.6.1 guest default_profile valid

main
  variable st set to new Stack<of String>()
  print st.length()
  set st to st.push("apple")
  set st to st.push("Pear")
  print st.length()
  print st.peek()
  variable fruit set to ""
  set fruit, st to st.pop()
  print fruit
  set fruit, st to st.pop()
  print fruit
  print st.length()
end main
