adds integers from standard input