def get_cpd_id(compound_full):
    """
    input:compound_full = compound full name (str) eg) 'oxalureate [CPD:C00802]'
    output: cpd =  cpd id (str) eg) 'C01007'
    """
    cpd = compound_full[-7:-1]
    return cpd