Jim and Maureen are training for a marathon. Jim runs 6 kilometers at a time while Maureen prefers to run in blocks of 3 kilometers. At the end of the month, they realize that they have run the same total number of kilometers. What is the smallest number of kilometers that each must run?