Answer the following question:
Pratyush took a sulphur powder on a spatula and heated it. He collected the gas evolved by inverting a test tube over it, as shown in the figure below.

Collection of gas
a. What will be the action of gas on
i. dry litmus paper?
i. dry litmus paper?
ii. moist litmus paper?
b. Write a balanced chemical equation for the reaction taking place.