polycarp go participate contest it start h_1m_1 end h_2m_2 it guarantee contest last number minute ie m_1 2 m_2 2 x y x modulo y it guarantee entire contest hold single day and finally guarantee contest last minutespolycarp want know time midpoint contest for example contest last 1000 1100 answer 1030 contest last 1110 1112 answer 1111