The elements A, B, C and D have atomic numbers 4, 12, 17 and 19 respectively. Which of the following pair of elements belong to the same period?