Write two Python functions which converts both ways NAME_1 represented as uppercase string and Arabic Numbers represented as integers. Function signatures are: `roman_to_arabic(s: str) -> int` and `arabic_to_roman(n: int) -> str`.