Use `is_even` instead of modulo operator
Remove unneeded type hint
Use unsigned integers instead of integers