def get_pkg_names(pkgs):
    result = []
    with open(join('mapping'), 'r') as f:
        data = [x.strip().split(':') for x in f.readlines()]
        for pkg in pkgs:
            toappend = pkg
            for item in data:
                if (item[0] == pkg):
                    toappend = item[1]
                    break
            if (toappend not in result):
                result.append(toappend)
    return result
def get_pkg_names(pkgs):
    result = []
    with open(join('mapping'), 'r') as f:
        data = [x.strip().split(':') for x in f.readlines()]
        for pkg in pkgs:
            toappend = pkg
            for item in data:
                if (item[0] == pkg):
                    toappend = item[1]
                    break
            if (toappend not in result):
                result.append(toappend)
    return result