Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { 28 , 2 , 3 , 6 , 153 , 99 , 828 , 24 } ; int K = 6 ; int N = arr . Length ; Console . Write ( maxArmstrong ( arr , N , K ) ) ; } }