pub fn input(output: &str) -> String
get input with the given output, similar to how input function works in python
crashes if failed to flush or read line