Structure to represent a query range
public class Query { public int L , R , X ; public Query ( int L , int R , int X ) { this . L = L ; this . R = R ; this . X = X ; } } ; static int = 100 ; static int [ ] = new int [ ] ;