Descriptions:

Three Religions

CodeForces - 1150D