calculate japanese kanji numbers from european numbers