<s>[INST] A stationary observer measures the speed of light as 2.998x10^8 m/s. Given that the proper length of a spaceship is 100 m and the observer measures the spaceship as 50 m in length, the relativistic factor, gamma, is found to be 2. The spaceship's speed can be found using the equation: v = sqrt(1 - 1/gamma^2)  c, where c = 2.998x10^8 m/s. If an event A happens at the front of the spaceship and another event B happens at the rear when the spaceship is passing the observer, determine the order of the events as seen by the observer.[/INST]