import re

def rearrange_names(name):
    username = re.search(r"^([\w \.-]*), ([\w \.-]*)$", name)
    if username is None:
        return name
    return "{} {}".format(username[2],username[1])

ac87510611f4d3ab01a12d352f82cdbf82c6df5d
<mask token>

<mask token>


def rearrange_names(name):
    username = re.search('^([\\w \\.-]*), ([\\w \\.-]*)$', name)
    if username is None:
        return name
    return '{} {}'.format(username[2], username[1])

import re


def rearrange_names(name):
    username = re.search('^([\\w \\.-]*), ([\\w \\.-]*)$', name)
    if username is None:
        return name
    return '{} {}'.format(username[2], username[1])

import re

def rearrange_names(name):
    username = re.search(r"^([\w \.-]*), ([\w \.-]*)$", name)
    if username is None:
        return name
    return "{} {}".format(username[2],username[1])
