Ok, with updating the question, so that the goal is clear (not just finding the median, but finding the median again every time you get a new number), I think there is a way.
: - -. , , , - , , . , . , , - -. - .
, , . : , ( ) . ( ).
, . , , . , ( , , , ) , , .
, , / O (log N). , .