Infosys applies for 18 patent applications in Q2