you & mdash; A data processing specialist in a company who is engaged in optimizing textual information for quick transmission through encrypted channels. You are instructed to implement a program working on the new protocol "Reduction". The essence of the protocol is to shorten the messages, deleting the first and last symbols in each word. This not only reduces the amount of data, but also makes the message unreadable for prying eyes.
rn
your task & mdash; Write a program that accepts the line (message) to the input and processes it according to the “Reduction” protocol.
rn
technical requirements:
rn
rn the program must request the user input of the same line of the text. rn The line should be divided into words. The words are considered to be symbols separated by one or more gaps. rn for each word in the line, it is necessary to remove the first and last symbols. rn Processed words should be displayed into one line separated by one gap. rn rn ol>
Input format
The initial message for processing (Type of data: line / string). It may contain letters, numbers, punctuation marks and a different number of gaps between words.
Output format
Processed message (data type: line / string), where the first and last symbols are removed in each word. The words are separated by one gap.
Example
Input
To show how to work with lines
Output
Tob rendering ak abot on troka
Hint
There will be no clue here, decide for yourself!