cout << k ;
if ( k == i k == j ) { continue ; } document . write ( ` ` ) ; K -= 2 ; K = parseInt ( k / 2 ) ; printLeftPath ( i , j , K ) ; document . write ( ` ${ i } ${ j } ${ k } ` ) ; printRightPath ( j , k , K ) ; return ; } } } } } document . write ( " " ) ; }