4. X, Y are metric spaces and X is compact, f is a function mappi...