In a cube, X atoms are present at corners and Y atoms are at face centres of a cube. The number of X and Y are: