between tall and short people, who are mostly affected by sun?

depends what you mean by "affected by sun".

Size is not the major determinant of skin cancer risk - it i mostly related to how well one wears skin protection/covers up and the very many genetic determinants of risk - very few of which are known to be related to height.