How can I process from 1 student up to 4 students with conditional logic?