Exercise 110.33.14. Give an example of a fibre product $X \times _ S Y$ such that $X$ and $Y$ are affine but $X \times _ S Y$ is not.

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).