In a recent marathon, Sam noticed that the running route was 50 kilometers long. After running for the whole morning, he checked his GPS and found that he had already run 27 kilometers. How many kilometers does he still need to run to complete the marathon?