Under construction

Still being built. Things may change

Movie Buffs

Time limit2sMemory limit1024 MB

Summary
Compare total video minutes for two viewers, where a trailer is 3 minutes, an episode is 20 minutes, and a film is 120 minutes, and report who watched more or a draw.
Level

Easy1 of 10

Topics
Implementation, Math
Solved
No attempts yet

Problem

Max and Mel are avid movie fans. Both have watched the top 100 movies on most popular sites, and each can list the filmography of any well-known actor. Nearly every conversation between them ends in an argument over whether Han Solo shot first.

One bright October morning, Max and Mel decided to find out which of them spends more time on their hobby. Max counted that over the past year he watched t1t_1 trailers, e1e_1 series episodes, and f1f_1 films. Mel watched t2t_2 trailers, e2e_2 series episodes, and f2f_2 films. A trailer runs 3 minutes, an episode runs 20 minutes, and a film runs 2 hours. Help them settle the argument by determining who watched more minutes of video over the past year.

Input

The first line contains three integers t1,e1,f1t_1, e_1, f_1, the numbers of trailers, series episodes, and films that Max watched (0≤t1,e1,f1≤10000 \le t_1, e_1, f_1 \le 1000).

The second line contains three integers t2,e2,f2t_2, e_2, f_2, the numbers of trailers, series episodes, and films that Mel watched (0≤t2,e2,f2≤10000 \le t_2, e_2, f_2 \le 1000).

Output

If Max watched more total minutes of video than Mel, print Max.

If Mel watched more total minutes of video than Max, print Mel.

If they watched the same total number of minutes, print Draw.

Examples3

  1. Example 1

    Input
    15 1 3
    1 3 3
    
    Expected output
    Max
    
  2. Example 2

    Input
    20 3 0
    0 0 1
    
    Expected output
    Draw
    
  3. Example 3

    Input
    1 2 3
    3 2 1
    
    Expected output
    Max