Not getting the first result I am looking for. Added parseInt before prompt();