package main

import . "fmt"
import . "math"

func main() {
	var t int
	Scan(&t)
	for ;t>0;t-- {
		var r int64
		Scan(&r)
		s:=Sqrt(float64(9*3*r*r*r*r))/2
		Println(s)
	}
}