1400 *****

segment tree