Thread-Safe Lottery System | Hello Interview