#PCBTAM0000012. Độ dài sau khi ghép (Length after Concatenation)

Độ dài sau khi ghép (Length after Concatenation)

Length after Concatenation

Version: Phuoc Hung OJ Extended

Problem Statement

Given strings aa and bb, append bb directly to aa without inserting any character. Determine the lengths of the first string, the second string, and their concatenation.

Existing spaces count as characters. The input line break separating aa and bb is not part of the concatenated string.

Input

The first line contains aa and the second contains bb. Either line may be empty.

Output

Print three space-separated integers: the length of aa, the length of bb, and the length of their concatenation.

Subtasks

  • Subtask 1 (100 points): 0≤∣a∣,∣b∣≤1000\le |a|,|b|\le100 Unicode characters.

Examples

Example 1

Input

ab
cde

Output

2 3 5

Explanation. ab has length 22 and cde length 33; concatenation has length 55.

Example 2

Input


X

Output

0 1 1

Explanation. The empty first string has length 00, X has length 11, and the total is 11.

Example 3

Input

Đ
A B

Output

1 3 4

Explanation. Đ is one Unicode character and A B is three; total length 1+3=41+3=4.