The equation is, H2SO4+xHI→H2S+yI2+zH2O
The above equation is balanced by oxidation number method. In this method, firstly the change in oxidation number of elements is counted and then, balanced them.
Now, balanced the hydrogen and oxygen. H2SO4+8HI→H2S+4I2+4H2O
So, the value of x,y and z are 8, 4 and 4 respectively.