Click here to Skip to main content
15,891,248 members

Comments by Mohamed Alaa Mar2023 (Top 2 by date)

Mohamed Alaa Mar2023 11-Mar-23 1:09am View    
I want to know the solution to the question
Mohamed Alaa Mar2023 11-Mar-23 1:08am View    
Given two strings S and T. Print 2 lines that contain the following in the same order:

Print the length of S and T separated by space.
Print a new string that contains S and T separated by a space.
For more clarification see the example below.

Input
The first line contains a string S (1 ≤ |S| ≤ 103) where |S| is the length of S.

The second line contains a string T (1 ≤ |T| ≤ 103) where |T| is the length of T.

Output
Print the answer required above.