What would be a chemically reasonable formula for a compound consisting of each of the following pairs of elements:

(a) K and F
(b) N and S

You need to look at where the elements are in the periodic table. Have you done so? This will give you a clue as this will indicate the valency of each.