Let delayedTime = x;

let landingTime = y;

let availableTime = [1,2,3,4,5]

let newLandingTime = x+y;

for( i=0; i=availableTime; i++;){

if( newLandingTime =< availableTime[i]){

console.log(“Landing in Courtenay”)

};

else{

console.log(“Landing In Smits”)

};

};