# frozen_string_literal: true def solve R.map do |r| 3 * Math.sqrt(3) * r**2 / 4 end end T = gets.to_i R = T.times.map { gets.to_i } puts solve