I want to use this conditional statement for other four variable (subjectA,subjectB,subjectC,subjectD) replacing "discrete" word. And I want to access them for output.