#270. 移除字符串首尾字符

    ID: 270 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-1gesp3字符串

移除字符串首尾字符

Remove First and Last Character

Background

Congcong is learning about string manipulation and has encountered a simple task that requires some operations on strings.

Problem Description

Given a string, return a version without the first and last character. For example, "Hello" yields "ell". The string length will be at least 22.

Input Format

Input is given from Standard Input in the following format.

s

Output Format

Output is printed to Standard Output in the following format.

result

Sample

Hello
"ell"
java
"av"
coding
"odin"

Sample Explanation

For the input string "Hello\