clear; clc; close all;

% implement your solution here

