//                       *  *  *
/*私は英単語を覚えるために あ え て 手動でマップにおさめた */
//泣きたい
//falseの部分いらないNa

#include<iostream>
#include<cassert>
#include<map>
using namespace std;
typedef pair<string,string> P;
map<P,bool> fight;


int main(){
  fight[P("Fire","Scissors")] = true; fight[P("Fire","Snake")] = true; fight[P("Fire","Human")] = true; fight[P("Fire","Tree")] = true; fight[P("Fire","Wolf")] = true; fight[P("Fire","Sponge")] = true; fight[P("Fire","Paper")] = true;
  fight[P("Scissors","Fire")] = false; fight[P("Snake","Fire")] = false; fight[P("Human","Fire")] = false; fight[P("Tree","Fire")] = false; fight[P("Wolf","Fire")] = false; fight[P("Sponge","Fire")] = false; fight[P("Paper","Fire")] = false;
  fight[P("Scissors","Snake")] = true; fight[P("Scissors","Human")] = true; fight[P("Scissors","Tree")] = true; fight[P("Scissors","Wolf")] = true; fight[P("Scissors","Sponge")] = true; fight[P("Scissors","Parer")] = true; fight[P("Scissors","Air")] = true;
  fight[P("Air","Scissors")] = false; fight[P("Paper","Scissors")] = false; fight[P("Sponge","Scissors")] = false; fight[P("Wolf","Scissors")] = false; fight[P("Tree","Scissors")] = false; fight[P("Human","Scissors")] = false; fight[P("Snake","Scissors")] = false;
  fight[P("Snake","Human")]=true; fight[P("Snake","Tree")]=true; fight[P("Snake","Wolf")]=true; fight[P("Snake","Sponge")]=true; fight[P("Snake","Paper")]=true; fight[P("Snake","Air")]=true; fight[P("Snake","Water")]=true;
 fight[P("Water","Snake")]=false; fight[P("Air","Snake")]=false; fight[P("Paper","Snake")]=false; fight[P("Sponge","Snake")]=false; fight[P("Wolf","Snake")]=false; fight[P("Tree","Snake")]=false; fight[P("Human","Snake")]=false;
 fight[P("Human","Tree")]=true; fight[P("Human","Wolf")]=true; fight[P("Human","Sponge")]=true; fight[P("Human","Paper")]=true; fight[P("Human","Air")]=true; fight[P("Human","Water")]=true; fight[P("Human","Dragon")]=true;
 fight[P("Dragon","Human")]=false; fight[P("Water","Human")]=false; fight[P("Air","Human")]=false; fight[P("Paper","Human")]=false; fight[P("Sponge","Human")]=false; fight[P("Wolf","Human")]=false; fight[P("Tree","Human")]=false;
 fight[P("Tree","Wolf")]=true; fight[P("Tree","Sponge")]=true; fight[P("Tree","Paper")]=true; fight[P("Tree","Air")]=true; fight[P("Tree","Water")]=true; fight[P("Tree","Dragon")]=true; fight[P("Tree","Devil")]=true;
 fight[P("Devil","Tree")]=false; fight[P("Dragon","Tree")]=false; fight[P("Water","Tree")]=false; fight[P("Air","Tree")]=false; fight[P("Paper","Tree")]=false; fight[P("Sponge","Tree")]=false; fight[P("Wolf","Tree")]=false;
 fight[P("Wolf","Sponge")]=true; fight[P("Wolf","Paper")]=true; fight[P("Wolf","Air")]=true; fight[P("Wolf","Water")]=true; fight[P("Wolf","Dragon")]=true; fight[P("Wolf","Devil")]=true; fight[P("Wolf","Lightning")]=true;
 fight[P("Lightning","Wolf")]=false; fight[P("Devil","Wolf")]=false; fight[P("Dragon","Wolf")]=false; fight[P("Water","Wolf")]=false; fight[P("Air","Wolf")]=false; fight[P("Paper","Wolf")]=false; fight[P("Sponge","Wolf")]=false;
 fight[P("Sponge","Paper")]=true; fight[P("Sponge","Air")]=true; fight[P("Sponge","Water")]=true; fight[P("Sponge","Dragon")]=true; fight[P("Sponge","Devil")]=true; fight[P("Sponge","Lightning")]=true; fight[P("Sponge","Gun")]=true;
 fight[P("Gun","Sponge")]=false; fight[P("Lightninh","Sponge")]=false; fight[P("Devil","Sponge")]=false; fight[P("Dragon","Sponge")]=false; fight[P("Water","Sponge")]=false; fight[P("Air","Sponge")]=false; fight[P("Paper","Sponge")]=false;
 fight[P("Paper","Air")]=true; fight[P("Paper","Water")]=true; fight[P("Paper","Dragon")]=true; fight[P("Paper","Devil")]=true; fight[P("Paper","Lightning")]=true; fight[P("Paper","Gun")]=true; fight[P("Paper","Rock")]=true;
 fight[P("Rock","Paper")]=false; fight[P("Gun","Paper")]=false; fight[P("Lightninh","Paper")]=false; fight[P("Devil","Paper")]=false; fight[P("Dragon","Paper")]=false; fight[P("Water","Paper")]=false; fight[P("Air","Paper")]=false;
 fight[P("Air","Water")]=true; fight[P("Air","Dragon")]=true; fight[P("Air","Devil")]=true; fight[P("Air","Lightning")]=true; fight[P("Air","Gun")]=true; fight[P("Air","Rock")]=true; fight[P("Air","Fire")]=true;
 fight[P("Fire","Air")]=false; fight[P("Rock","Air")]=false; fight[P("Gun","Air")]=false; fight[P("Lightning","Air")]=false; fight[P("Devil","Air")]=false; fight[P("Dragon","Air")]=false; fight[P("Water","Air")]=false;
 fight[P("Water","Dragon")]=true; fight[P("Water","Devil")]=true; fight[P("Water","Lightning")]=true; fight[P("Water","Gun")]=true; fight[P("Water","Rock")]=true; fight[P("Water","Fire")]=true; fight[P("Water","Scissors")]=true;
 fight[P("Scissors","Water")]=false; fight[P("Fire","Water")]=false; fight[P("Rock","Water")]=false; fight[P("Gun","Water")]=false; fight[P("Lightning","Water")]=false; fight[P("Devil","Water")]=false; fight[P("Dragon","Water")]=false;
 fight[P("Dragon","Devil")]=true; fight[P("Dragon","Lightning")]=true; fight[P("Dragon","Gun")]=true; fight[P("Dragon","Rock")]=true; fight[P("Dragon","Fire")]=true; fight[P("Dragon","Scissors")]=true; fight[P("Dragon","Snake")]=true;
 fight[P("Snake","Dragon")]=false; fight[P("Scissors","Dragon")]=false; fight[P("Fire","Dragon")]=false; fight[P("Rock","Dragon")]=false; fight[P("Gun","Dragon")]=false; fight[P("Lightning","Dragon")]=false; fight[P("Devil","Dragon")]=false;
 fight[P("Devil","Lightning")]=true; fight[P("Devil","Gun")]=true; fight[P("Devil","Rock")]=true; fight[P("Devil","Fire")]=true; fight[P("Devil","Scissors")]=true; fight[P("Devil","Snake")]=true; fight[P("Devil","Human")]=true;
 fight[P("Human","Devil")]=false; fight[P("Snake","Devil")]=false; fight[P("Scissors","Devil")]=false; fight[P("Fire","Devil")]=false; fight[P("Rock","Devil")]=false; fight[P("Gun","Devil")]=false; fight[P("Lightning","Devil")]=false;
 fight[P("Lightning","Gun")]=true; fight[P("Lightning","Rock")]=true; fight[P("Lightning","Fire")]=true; fight[P("Lightning","Scissors")]=true; fight[P("Lightning","Snake")]=true; fight[P("Lightning","Human")]=true; fight[P("Lightning","Tree")]=true;
 fight[P("Tree","Lightning")]=false; fight[P("Human","Lightning")]=false; fight[P("Snake","Lightning")]=false; fight[P("Scissors","Lightning")]=false; fight[P("Fire","Lightning")]=false; fight[P("Rock","Lightning")]=false; fight[P("Gun","Lightning")]=false;
 fight[P("Gun","Rock")]=true; fight[P("Gun","Fire")]=true; fight[P("Gun","Scissors")]=true; fight[P("Gun","Snake")]=true; fight[P("Gun","Human")]=true; fight[P("Gun","Tree")]=true; fight[P("Gun","Wolf")]=true;
 fight[P("Wolf","Gun")]=false; fight[P("Tree","Gun")]=false; fight[P("Human","Gun")]=false; fight[P("Snake","Gun")]=false; fight[P("Scissors","Gun")]=false; fight[P("Fire","Gun")]=false; fight[P("Rock","Gun")]=false;
 fight[P("Rock","Fire")]=true; fight[P("Rock","Scissors")]=true; fight[P("Rock","Snake")]=true; fight[P("Rock","Human")]=true; fight[P("Rock","Tree")]=true; fight[P("Rock","Wolf")]=true; fight[P("Rock","Sponge")]=true;
 fight[P("Sponge","Rock")]=false; fight[P("Wolf","Rock")]=false; fight[P("Tree","Rock")]=false; fight[P("Human","Rock")]=false; fight[P("Snake","Rock")]=false; fight[P("Scissors","Rock")]=false; fight[P("Fire","Rock")]=false;

 string per[15] = {"Rock","Fire","Scissors","Snake","Human","Tree","Wolf","Sponge","Paper","Air","Water","Dragon","Devil","Lightning","Gun"};


 int n;
 string s[1100];
 while(cin >> n && n){
   /*
   bool winwin[n+1],wonwon[n+1];
   map<string,int> check;
 for(int i=0;i<n;i++){
   cin >> s[i];
   check[s[i]]++;
   winwin[i] = true;
   wonwon[i] = false;
 }

 int cnt=0,index=-1;
 
 
 if(check[s[0]] != n){

 for(int i=0;i<n;i++){
   for(int j=0;j<n;j++){
     if(i == j || s[i] == s[j]){
       continue;
     }
       
     if(!fight[P(s[i],s[j])]){ //s[i]がs[j]に負ける
       winwin[i] = false;
     }
   }  
 }

 for(int i=0;i<n;i++){
   bool All = true;
   for(int j=0;j<n;j++){
     if(i == j || s[i] == s[j]){
       continue;
     }
       
     if(!fight[P(s[i],s[j])]){ //s[i]がs[j]にかつ
       All = false;
       break;
     }
   }
   if(All){
     wonwon[i] = true;
   }
   
 }
 bool sin = true;
 for(int i=0;i<n;i++){
   if(winwin[i] && wonwon[i]){
     cout << s[i] << endl;
     sin = false;
     break;
   }
 } 

 if(sin)cout << "Draw" << endl;
 }
 else cout << "Draw" << endl;


   */



   map<string,bool> exist;
   exist.clear();
   for(int i=0;i<n;i++){
     cin >> s[i];
     exist[s[i]] = true;
   }

   bool winwin[16],wonwon[16];
   for(int i=0;i<16;i++)winwin[i] = wonwon[i] = false;

 
   /*
   for(int i=0;i<n;i++){
     win = false;
     atthe = true;
     for(int j=0;j<n;j++){
       if(i == j)continue;
       for(int k=i+1;k<=i+7;k++){
	 if(s[(i+k)%15] == s[j]){
	   win = true;
	   break;
	 }
       }
       if(!win){
	 atthe = false;
	 break;
       }
     }
     winwin[i] = atthe?true:false;
   }

   for(int i=0;i<n;i++){ 

     for(int j=0;j<n;j++){
       if(i == j)continue;
       for(int k=i-7)


     }


   }
*/


   for(int i=0;i<15;i++){
     if(!exist[per[i]])continue;
     for(int j=i+1;j<=i+7;j++){
       if(!exist[per[j%15]])continue;
       winwin[j%15] = true;
       wonwon[i] = true;
     }
   }
   bool Fin = true;
   for(int i=0;i<15;i++)if(exist[per[i]] && (!winwin[i] && wonwon[i])){
       cout << per[i] << endl;
       Fin = false;
       break;
     }
   if(Fin)cout << "Draw" << endl;


 }
   
  return 0;
}

Measured memory_bytes: 1396