package main

import (
	"flag"
	"fmt"
	"strings"
)

var n = flag.Bool("n", false,
	"omit trailing newline")
var sep = flag.String("s", "",
	"separtor")

func main() {
	flag.Parse()
	fmt.Print(strings.Join(flag.Args(), *sep))
	if !*n {
		fmt.Println()
	}
}
