function to Check if a large number is divisible by 2 , 3 and 5 or not
bool Divisible ( string str , int n ) { if ( SumOfDigits ( str , n ) % 3 == 0 and str [ n - 1 ] == '0' ) return true ; return false ; }