LogiQuest

46. snake_case to camelCase

EasyString

Convert each snake_case identifier to camelCase (the first word stays lowercase, later words are capitalised).

Input format

Line 1: n Next n lines: an identifier

Output format

n lines in camelCase.

Example 1

Input

3
user_name
is_logged_in
id

Output

userName
isLoggedIn
id

Example 2

Input

2
http_status_code
a_b_c

Output

httpStatusCode
aBC

Constraints

1 ≤ n ≤ 1000

Read input from standard input and print the answer to standard output. Your code is judged against 3 test cases, most of them hidden.

Loading the MyLoginn IDE…