You are forgetting that there are two factors that make up kinetic energy: mass and velocity. So, if the atoms/molecules in an ideal gas have the same amount of kinetic energy per atom/molecule (1.5 kBT on average), and the atoms/molecules in gas A are heavier than the atoms/molecules in gas B, what can you conclude?
Do note that real molecules are a bit more complicated, because they can store energy in their various vibrations and rotations. This becomes important when you want to start talking about specific heats and other properties that are impacted by the way in which energy gets distributed in each molecule in an ensemble. The simplification above only applies to translational kinetic energy.