Question d’entretien chez Accenture

What is the difference between @Component, @Service, and @Repository annotations in Spring? Given a list of integers, filter out the even numbers and square the remaining ones using Java Streams.