Belarus drew Japan for its first match in the Olympic basketball tournament in Rio which it lost 73-77.