Function inOutQuint