Driver code
public static void Main ( ) { int [ ] a = { 60 , 60 , 120 } ; int n = a . Length ; if ( checkCombinations ( a , n ) ) Console . WriteLine ( " YES " ) ; else Console . WriteLine ( " NO " ) ; } }