Simplify the selection with a maybeint() function + comprehension