Logo C++ Online Judge

C++

时间限制:1 s 空间限制:512 MB
TA:
统计

Parse Config

You are given one line containing configuration items:

key=value;key2=value2;key3=value3

Items are separated by ;. In each item, the first = splits the key and the value. Optional spaces or tabs may surround the key/value.

Hint: there might be more than 3 pairs shown in the example.

The input is guaranteed valid:

  • every item contains exactly one =;
  • keys and values are non-empty;
  • keys are unique (case-sensitive);
  • no ; or = appears inside values (except the splitting =).

Output all pairs sorted by key (ascending), in the form key=value with no spaces.

Input

One line, length <= 100000.

Output

The pairs key=value, sorted by key.

Sample

Input

host = example.com ; port=8080; debug = true; finish=False

Output

debug=true
finish=False
host=example.com
port=8080