No, neither is acceptable: longtermism notwithstanding, we should allocate significant resources to combating both.
Note that in practice, the EA community does allocate resources across a portfolio of causes.
Note that in practice, the EA community does allocate resources across a portfolio of causes.