Arabic/Farsi Letter Convertor

Arabic and Farsi share an alphabet but differ on a few letters, most often ك against ک and ي against ی. This swaps them in either direction, digits included.

Input
Result