d=gets.hex$><<[292,146,73,448,56,7,273,84].map{|m|d&m<1?:lose:d&m<m ?:cat: :win}.max
1a9
lose
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!