using System;
using System.Linq;
using System.Collections.Generic;
class Program
{
static void Main() {
string s = "csharp cpp csharp c++ java c python Csharp c cpp php c++ java";
var words = s.Split();
IEnumerable<string> unique_words = words.Distinct();
foreach (var word in unique_words) {
Console.WriteLine(word);
}
}
}
/*
run:
csharp
cpp
c++
java
c
python
Csharp
php
*/