An ideal gas is made of polyatomic molecules. Each of the molecules has three translational, three rotational and f number of vibrational modes. If the ratio of heat capacities $C_P/C_V$ of the gas is 8/7, then the value of f is: