UpDown.java



public class UpDown {

    public static void main( String[] args ) {

        for( int n=2; n<=20; n++ ) {
            int i = n;
            int count = 1;
            while( true ) {
                 if( i___________ ) {

                     ________;

                     if( i_______ )
                         break;
                 }
                 else {

                     ________;
                     i++;
                 }
                 count++;
            }
            System.out.println( n + ":" + count );
        }
    }
}