Switch Between Input And Output Values