Driver code
public static void main ( String [ ] args ) { char C = ' H ' ; int N = 5 ; Pair < Integer , Integer > p = count_ht ( C , N ) ; System . out . println ( " Head ▁ = ▁ " + p . getKey ( ) ) ; System . out . println ( " Tail ▁ = ▁ " + p . getValue ( ) ) ; } }