You are tasked with creating a new string by alternating the characters from two input strings, s and t. Both strings are of equal length N and consist only of lowercase English letters.
Task
Given two strings s and t, generate a new string by alternating the characters from s and t. The new string should be formed as follows:
Take the first character from s
Take the first character from t
Take the second character from s
Take the second character from t
Continue this pattern until all characters from both strings have been included.
Input Format
The input consists of two lines:
The first line contains the string s (1 ≤ |s| ≤ 100).
The second line contains the string t (1 ≤ |t| ≤ 100, |s| == |t|).
Output Format
Print the newly formed string as described.
Examples
Example 1
Input:
text
abc
def
Output:
text
adbcef
Example 2
Input:
text
hello
world
Output:
text
hweolrllod
Solution
Your solution should be placed in the /app/ directory.
Important: place your implementation at /app/solution.py so the verifier can run it.