Driver code
public static void main ( String [ ] args ) { String a = "9555" , b = "555" ; int count = count_carry ( a , b ) ; if ( count == 0 ) System . out . println ( "0NEW_LINE"); else if ( count == 1 ) System . out . println ( "1NEW_LINE"); else System . out . println ( count ) ; } }