require 'test/unit' extend Test::Unit::Assertions a,b,p = gets.split.map(&:to_i); assert(1<=a); assert(a<=b); assert(b<=10**(10**5)); assert(p==8 || p==80 || p==800);