#[allow(unused)] use proconio::{input, marker::Chars}; use std::collections::HashMap; fn main() { input! { s: [String; 8], } let mut judge = HashMap::from([("AC", 0), ("WA", 0), ("RE", 0), ("NoOut", 0), ("NoSub", 0)]); for j in s.iter() { *judge.entry(j.as_str()).or_default() += 1; } if judge["AC"] + judge["NoOut"] >= 6 { println!("Win") } else if judge["AC"] + judge["NoOut"] == 5 { println!("Draw") } else if judge["AC"] + judge["NoOut"] <= 4 { println!("Lose") } }