Driver program to test above functions
public static void main ( String [ ] args ) { int num = 12 ; if ( checkAdamNumber ( num ) ) System . out . println ( " Adam ▁ Number " ) ; else System . out . println ( " Not ▁ a ▁ Adam ▁ Number " ) ; } }