Rio de Janeiro is hosting the summer Olympics. Here’s why there’s reason to celebrate – and worry in Brazil.