#PCBNAM0000005. Họ và tên nguyên dòng (Full Name as a Line)
Họ và tên nguyên dòng (Full Name as a Line)
Full Name as a Line
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A full name is given on one line and may have extra leading or trailing whitespace. Remove whitespace at both ends while preserving all internal characters, including repeated spaces. In this PHOJ version, boundary whitespace consists of spaces and tabs.
Input
One line containing the full name , potentially with spaces or tabs at either end.
Output
Print the string after removing boundary whitespace. Preserve internal whitespace.
Subtasks
- Subtask 1 — 100 points: After stripping boundary whitespace, the string is non-empty and has at most characters. The text is valid UTF-8; boundary whitespace consists only of spaces and tabs.
Examples
Input
Nguyen Van An
Output
Nguyen Van An
Explanation
The input contains three leading spaces and three trailing spaces. strip() removes these six spaces. The two spaces between Nguyen and Van are internal and are preserved. The output is therefore Nguyen Van An.