using System;
namespace MyCompiler {
class Program {
public static void Main(string[] args) {
int N = Convert.ToInt32(Console.ReadLine());
string []Codigos = new string [N];
string aux, aux2;
//bool repetido = false;
for(int i=0; i < N;i++){
Codigos[i] = Console.ReadLine();
//System.Console.Write(Codigos[i]);
}
for(int x=0; x < Codigos.Length;x++){
//System.Console.Write(Codigos[x]);
aux = Codigos[x];
int aum = x+1;
for(int j = aum ; j < Codigos.Length; j++){
aux2 = Codigos[j];
if(aux == aux2){
System.Console.WriteLine(aux);
//repetido = true;
}
}
}
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: