#280. nTwice

nTwice

Background

Description

Given a string and an int n, return a string made of the first and last n chars from the string. The string length will be at least n.

Format

Input

Output

Samples

Hello" 
"Helo"
Chocolate" 
"Choate"
Chocolate" 
"Ce"

Limitation

1s, 1024KiB for each test case.