Convert date format. Example: "12-25-21" => "21-25-12"
Implement this function:
def mm_dd_yy_to_yy_dd_mm(date: str) -> str:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: date.
Input
'12-25-21'
Output
'21-25-12'