Yes, its fine. The first number, the W, will end up falling somewhere between 0 and 5W. The engine will never notice the difference, and you or your friend won't either. A 5w oil is usable down to something like -30F anyway so the temperature is something you will never have to worry about, either.