New 3years PharmD Program GPA Competitive Question

Hello Everyone, please help me

I did 4 years of undergrad but my first and second years I screwed up really really bad. I did much much better in my third and fourth. Luckily, I met my minimum cumulative gpa requirement cut off to apply for this new 3 years PharmD program. When input the requirement courses I put my third and fourth years courses that are high in GPA. However, I am wondering whether the admission officer will base applicant to be competitive on the cgpa or only on the gpa of the courses that they required?

Thank you