using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test { class Program { static void Main(string[] args) { //勝敗判定 string[] judge = new string[3]; judge[0] = "Drew"; judge[1] = "Won"; judge[2] = "Lost"; string s = Console.ReadLine(); string[] t = s.Split(' '); int a = int.Parse(t[0]); int b = int.Parse(t[1]); janken(ref judge, a); string c = judge[b]; Console.WriteLine("{0}", c); } static void janken(ref string[] text,int key) { while(key > 0) { string tmp = text[2]; text[2] = text[1]; text[1] = text[0]; text[0] = tmp; key--; } } } }