On Sunday, 30 April 2017 at 03:10:25 UTC, JV wrote: > btw i forgot to add () at readln while editing the post That's not necessary, it doesn't change anything. But readln without arguments returns a string, not an int.