Driver Code
public static void Main ( String [ ] args ) { int [ ] input = { 5 } ; foreach ( int x in input ) { Console . Write ( " sum ▁ of ▁ all ▁ perfect ▁ " + " square ▁ divisors ▁ from ▁ " + "1 ▁ to ▁ " + x + " ▁ is : ▁ " ) ;