package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

func main() {
	in := bufio.NewScanner(os.Stdin)

	fmt.Print("Your name: ")
	in.Scan()
	name := in.Text()

	fmt.Print("Disks in the NAS: ")
	in.Scan()
	disks, err := strconv.Atoi(in.Text())
	if err != nil {
		fmt.Println("That is not a whole number")
		os.Exit(1)
	}
	fmt.Printf("Hello, %s. %d disks of 8 TB are %d TB.\n", name, disks, disks*8)
}
