#!/usr/bin/env ruby while line = STDIN.gets puts "#{eval line}" end