Tanzania won the toss and elected to bat