PROBLEMA NUM: 5013 - CATEGORIA: mcd-mcm - DIFFICOLTA': ***

Preston bought the same number of kilograms of dog food and cat food last month, even though the dog food comes in 4-kilogram packages while the cat food is sold in 2-kilogram packages.
What is the minimum number of kilograms of each he must have bought?