public bool Judge(CardSet tmp) { if (a > tmp.a) return true; else if (a < tmp.a) return false; else if (b < tmp.b) return true; else return false; }
static void Main(string[] args) { var input = GetInputAsList(); var _p = input[0].ConvertIntParse(' '); CardSet parent = new CardSet(_p[0], _p[1]); int n = int.Parse(input[1]); for (int i = 2; i < n + 2; i++) { var tmp = input[i].ConvertIntParse(' '); string j; if (parent.Judge(new CardSet(tmp[0], tmp[1]))) j = "High"; else j = "Low"; Console.WriteLine(j); } }