You store the error into `err2` above, but check `err` here.

If all you care about from `Scanf` is error parameter, you can do this:

```go
if _, err := fmt.Scanf("%s", &input); err != nil {
  panic(err)
}
```