#284. atFirst
atFirst
Background
Description
Given a string, return a string length 2 made of its first 2 chars. If the string length is less than 2, use '@' for the missing chars.
Format
Input
Output
Samples
hello
"he"
hi
"hi"
h
"h@"
Limitation
1s, 1024KiB for each test case.