use DS::Deque<int> instead of MyDeque