def get_valid_regs(returned_reg, regs):
    """
    Return the valid registers that can be used to store data.
    """
    valid_regs = []

    for reg in regs:
        if ((reg[0] == 'v') and (reg != returned_reg) and (int(reg[1:]) < 16)):
            valid_regs.append(reg)

    return valid_regs