
function output (input) {
	const weather = ["Sunny", "Cloudy", "Rainy"];
  for (let i = 0; i  < weather.length; i++) {
		if (inputted === weather[i]) {
    		if (i+1 === weather.length) {
        		return weather[0];
       		}
    		return weather[i+1];
    	}
	}
}
