print map(lambda x:hash(x)%78%10,['though', 'through', 'thorough', 'Thoreau', 'throw', 'threw', 'trough', 'tough', 'troll'])
Standard input is empty
[5, 6, 8, 7, 3, 1, 9, 4, 2]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!