#K71192. Next Tech Talk
Next Tech Talk
Next Tech Talk
You are tasked with determining the type of tech talk to be organized this month based on last month's tech talk type. Specifically, if the previous talk was TECH
, then this month’s talk should be INNOVATION
; if it was INNOVATION
, then this month’s talk should be TECH
. In mathematical terms, if we denote the last month's talk by ( x ), then the answer ( y ) is given by: ( y = \begin{cases} \text{INNOVATION}, & \text{if } x=\text{TECH} \ \text{TECH}, & \text{if } x=\text{INNOVATION} \end{cases} ). For any other input, output the error message exactly as: Invalid input: last_month_talk must be either 'TECH' or 'INNOVATION'
.
inputFormat
The input consists of a single line containing a string that represents last month's tech talk type. This will be exactly one of the following: TECH
or INNOVATION
.
outputFormat
Output a single line string: if the input is TECH
, output INNOVATION
; if the input is INNOVATION
, output TECH
. For any other input, output Invalid input: last_month_talk must be either 'TECH' or 'INNOVATION'
.## sample
TECH
INNOVATION