Example Of Both Input And Output Device