Oh okay, yeah that would work. We don't even need to keep a reference to `input` because `main` is synchronous and won't return until it's done with `input`.