Function to find out frequency of numbers from 1 to N having their sum of digits from 1 to 162 and store them in array
vector < ll > formArray ( ll N ) { ll dp [ 20 ] [ 2 ] [ 166 ] ; memset ( dp , -1 , sizeof dp ) ;