Driver Code
public static void main ( String [ ] args ) { int input [ ] = { 5 } ; for ( int x : input ) { System . out . print ( " sum ▁ of ▁ all ▁ perfect ▁ " + " square ▁ divisors ▁ from ▁ " + "1 ▁ to ▁ " + x + " ▁ is : ▁ " ) ;