According to the JEE Mains guidelines, a candidate can appear for the exam a maximum of four times in a consecutive year