Hidden Power Calculator
Ruby, 210

a=$*.map.with_index{|a,i|[a.to_i%2&lt;&lt;i,a.to_i[1]&lt;&lt;i]}.transpose.map{|a|a.inject &amp;:+}
$&gt;&lt;&lt;"#{%w(Fighting
Flying
Poison
Ground
Rock
Bug
Ghost
Steel
Fire
Water
Grass
Electric
Psychic
Ice
Dragon
Dark)[a[0]*15/63]} #{a[1]*40/63+30}"


First time golfing, so I guess this is pretty obvious solution.