#!/usr/bin/ruby puts STDIN.read.chars.uniq.join