#284. 字符串前两字符提取与填充

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

字符串前两字符提取与填充

Extract First Two Characters

Background

This is a basic string processing problem designed to test your ability to determine string length and extract characters.

Problem Description

Given a string, return a string of length 22 made of its first 22 characters. If the string length is less than 22, use '@' for the missing characters.

Input Format

Input is given from standard input in the following format.

A string.

Output Format

Output is printed to standard output in the following format.

A string of length 22.

Sample

hello
"he"
hi
"hi"
h
"h@"

Sample Explanation

For the first sample "hello\