Read three lines: a name, a role, and a year. Print exactly: NAME (ROLE) joined in YEAR using a template literal, with NAME uppercased.
NAME (ROLE) joined in YEAR
Input: three lines. Output: one formatted line.
Your program reads from stdin and prints to stdout.
Example 1
Input: ada engineer 1843
Output: ADA (engineer) joined in 1843
Hints