import rdstdin, strutils let str = readLineFromStdin "Input a string: " let num = parseInt(readLineFromStdin "Input an integer: ")