With reference to the history of ancient India, which of the following was/were common to both Buddhism and Jainism?
1. Avoidance of extremities of penance and enjoyment
2. Indifferent to the authority of the Vedas
3. Denial of efficacy of rituals
Select the correct answer using the codes given below:
1. 1 only
2. 2 and 3 only
3. 1 and 3 only
4. 1, 2 and 3