C # implementation to find the row whose product has maximum number of prime factors
using System ; using System . Collections . Generic ; class GFG { static readonly int N = 3 ; static readonly int M = 5 ; static int Large = ( int ) 1e6 ; static List < int > prime = new List < int > ( ) ;