Define Input And Output Math