Function to add the individual digits into the vector
function init ( l ) { for ( var i = 0 ; i < 2001 ; i ++ ) { for ( var j = 0 ; j < 2001 ; j ++ ) { for ( var k = 0 ; k < 2 ; k ++ ) { dp [ i ] [ j ] [ k ] = - 1 ; } } } v = [ ] ;