SP10606 BALNUM - Balanced Numbers
Description
Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if:
1\) Every **even** digit appears an **odd** number of times in its decimal representation
2\) Every **odd** digit appears an **even** number of times in its decimal representation
For example, 77, 211, 6222 and 112334445555677 are balanced numbers while 351, 21, and 662 are not.
Given an interval \[A, B\], your task is to find the amount of balanced numbers in \[A, B\] where both **A and B are included.**
Input Format
N/A
Output Format
N/A