Should students be allowed to take any subject they want in High School and avoid the ones they don’t like?

Should students be allowed to take any subject they want in High School and avoid the ones they don’t like?