I need an example of vector bundles $E_1 \to B$, $E_2 \to B$ such that $E_1, E_2$ are nontrivial and $E_1 \oplus E_2 $ is trivial.There aren't much of a bundles which I can prove to be nontrivial. One of them is the nontrivial line bundle over the circle (which turns the fiber upside down). I tried to check if the sum of two copies of those bundles is trivial.
It looks to me that it isn't because the gluing map is just the matrix $\operatorname{diag}(-1, -1)$ so it still turns things upside down and therefore any section must be zero on the intersection. I am not sure of it, though.
So what is the simplest example and does the bundle over the circle work?
Remark: I don't know characteristic classes and I am not allowed to use them anyway.