get odd and even numbers from national numbers