Implement a stack using a single queue. Your implementation should support the following operations:
push(value)
pop()
top()
isEmpty()
All operations should run in O(1) time complexity.