#163. 字符串前后添加字符

    ID: 163 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatFunctional-1gesp3字符串循环结构

字符串前后添加字符

Add 'y' to String Ends

Background

Congcong has recently been learning about string processing. He wants to apply some interesting modifications to strings to make them look more special.

Problem Description

Given a list of strings, return a list where each string has "y" added at its start and end.

Input Format

Input is given from Standard Input in the following format.

A single line containing several space-separated strings.

Output Format

Output is printed to Standard Output in the following format.

A single line containing a list of strings, where each string has 'y' added at its start and end.

Sample

"a" "b" "c"
["yay\