def read_intensities(content):
    """Read frequencies and IR intensities"""
    
    intensities = []

    freq_block = content.split('and normal coordinates:')[-1]
    freq_block = [ line for line in freq_block.split('\n') if len(line) > 0]
    
    for line in freq_block:
        line = line.strip() 

        #if only - in line it is the end
        if set(line).issubset(set('-')):
            break
        
        if 'IR Inten' in line:
            intensities += list(map(float, line.split()[3:]))
    
    return intensities