1 - Welcome to SKOJ
Time limit: 1000 ms
Memory limit: 250 MB

Welcome to SKOJ, your new online coding platform!

As your very first challenge, let’s start simple.

Your task is to greet users by printing a personalized welcome message for each test case.

Given a number of users and their names, print the message:

Welcome to SKOJ, <name>!

for each user.

This problem will help you get familiar with SKOJ’s input and output format.

Input

The first line contains an integer T, the number of test cases.

Each of the next T lines contains a single string name, representing the name of a user.

Output

For each test case, print the welcome message in the following format:

Welcome to SKOJ, <name>!

Make sure to print a new line after each output, including the last one. Otherwise, you will get a presentation error.

Constraints
  • 1 <= T <= 5000

  • 1 <= length of name <= 20

  • name contains only English letters (uppercase or lowercase).

Example Input Example Output
3
Alice
Bob
Charlie
Welcome to SKOJ, Alice!
Welcome to SKOJ, Bob!
Welcome to SKOJ, Charlie!
Explanation

The program reads the total number of test cases T.

For each test case, it reads a user’s name and prints a personalized welcome message.

This ensures your solution correctly handles multiple test cases and produces the expected output format.


Sign in to Submit