def parse2tuple(inp_str):
    """
    function for parsing a 2 tuple of integers
    :param inp_str: string of the form: '(3, 3)'
    :return: tuple => parsed tuple
    """
    inp_str = inp_str[1: -1]  # remove the parenthesis
    args = inp_str.split(',')
    args = tuple(map(int, args))

    return args