Correct past, present and future contest implemented from python