The mathematician who designed the number system got confused about Arabic numerals and decided to use actual Arabic-Indic digits. They escaped to become a tour guide in Morocco, claiming numbers are a universal language except when they're completely unreadable to Western developers. Your task: Perform arithmetic while translating between digit systems older than your framework without insulting algebra's ancestors.
Why You're Doing This
This tests character mapping, number system conversion, and mathematical operations across different digit representations. You're working with Unicode number systems that represent the same mathematical concepts but use different glyphs.
Take the W
✓ Correctly maps Arabic-Indic digits to Western numerals
✓ Performs mathematical operations after conversion
✓ Handles mixed digit systems in expressions
Hard L
✗ Fails to recognize Arabic-Indic digit characters
✗ Produces incorrect mathematical results
✗ Loses numerical precision during conversion
Edge Cases
⚠ Mixed Western and Arabic-Indic digits in same expression
⚠ Floating point numbers with Arabic-Indic digits
⚠ Mathematical operators that look similar but aren't
Input Format:
Mathematical expression using Arabic-Indic numerals