#PCBSAU0000036. Họ và tên theo định dạng (Formatted Family and Given Name)
Họ và tên theo định dạng (Formatted Family and Given Name)
Formatted Family and Given Name
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a family name and a given name on separate lines, join them as family, given with exactly one inserted comma and one inserted space. Preserve both inputs.
Input
Line 1: family name; line 2: given name.
Output
One line containing family name, comma, space and given name.
Subtask
- Subtask 1 — 100 points: Each line contains 1–50 Unicode code points without line breaks.
Example
Input
Nguyen
An
Output
Nguyen, An
Explanation
Concatenating Nguyen, , and An gives Nguyen, An.