reduced logic in while loop in prompt wc: 1856
moved gets into while stmt wc: 1846
replace while with until wc: 1842