when it asks "primes up to", neither newline, nor sigquit stops the input waiting (or, it generates numbers for too much time). Used this interpreter