import java.util.*; public class test { public static void main( String args[] ) { BitSet b = new BitSet(); b.set( 0 ); b.set( 2 ); b.set( 30 ); System.out.println( b.toString() ); } }