#PCBTAM0000029. Phiếu điểm hai môn (Two-Subject Score Card)

Phiếu điểm hai môn (Two-Subject Score Card)

Two-Subject Score Card

Version: Phuoc Hung OJ Extended

Problem Statement

A score card contains a student's full name ss and two subject scores aa and bb. The combined score mm is the weighted average, assigning weight 22 to the first subject and 33 to the second:

m=2a+3b5.m=\frac{2a+3b}{5}.

Display the name, first score, second score, and combined score on one line. Show exactly two digits after the decimal point for every score. Apply formatting only when printing; do not round intermediate values before computing mm.

Input

The first line contains full name ss, possibly including spaces and Vietnamese characters. The second contains real numbers aa and bb separated by whitespace, each with at most four fractional digits.

Output

Print one line in the format name | a | b | m, with exactly one space on each side of every |. Show exactly two digits after the decimal point for all three numeric fields.

Subtasks

  • Subtask 1 (100 points): 1≤∣s∣≤801\le |s|\le80 characters; 0≤a,b≤100\le a,b\le10.

Examples

Example 1

Input

Nguyen Van An
8 9

Output

Nguyen Van An | 8.00 | 9.00 | 8.60

Explanation. For a=8a=8 and b=9b=9, m=(2⋅8+3⋅9)/5=43/5=8.6m=(2\cdot8+3\cdot9)/5=43/5=8.6; show 8.60 alongside 8.00 and 9.00.

Example 2

Input

Lê Bình
10 10

Output

Lê Bình | 10.00 | 10.00 | 10.00

Explanation. For scores 1010 and 1010, m=(20+30)/5=10m=(20+30)/5=10; all three numeric fields show 10.00.

Example 3

Input

A
0 5

Output

A | 0.00 | 5.00 | 3.00

Explanation. For a=0a=0 and b=5b=5, m=(0+15)/5=3m=(0+15)/5=3; display 0.00, 5.00, and 3.00.