Problem: Input and output vectors

Problem

Solution