A river is composed of 77 miles of calm water. A new tributary recently merged and extended the river by an additional 26 miles. Later, a 99-mile rapid water stretch is discovered and added to the river's length. How long is the river in total?