package main
import (
"bufio"
"io"
"os"
"fmt"
)
func main() {
in := bufio.NewReader(os.Stdin)
for {
os.Stdout.WriteString("\t")
line, err := in.ReadString('\n')
if err == io.EOF {
return
}
l := lex(line)
for {
i, s := l.Lex()
if i == EOF {
break
}
fmt.Println(i, s)
}
}
}