Investment A produced annual rates of return of 4%, 8%, 14% and 6% respectively over the past four years. Investment B produced annual rates of return of 5%, 12%, 8% and 11% respectively over the past four years. Which investment was more risky over the past 4 years?