snippet1.nim 142 B

12345
  1. import strutils
  2. echo "Give a list of integers (separated by spaces): ",
  3. stdin.readLine.split.each(parseInt).max,
  4. " is the maximum!"