<P> The Shang kings were referred to in the oracle bones by posthumous names . The last character of each name is one of the 10 celestial stems, which also denoted the day of the 10 - day Shang week on which sacrifices would be offered to that ancestor within the ritual schedule . There were more kings than stems, so the names have distinguishing prefixes such as 大 Dà (greater), 中 Zhōng (middle), 小 Xiǎo (lesser), 卜 Bǔ (outer), 祖 Zǔ (ancestor) and a few more obscure names . </P> <P> The kings, in the order of succession derived from the oracle bones, are here grouped by generation . Later reigns were assigned to oracle bone diviner groups by Dong Zuobin: </P> <Table> <Tr> <Th> Generation </Th> <Th_colspan="3"> Older brothers </Th> <Th> Main line of descent </Th> <Th> Younger brothers </Th> <Th> Diviner group </Th> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 大 乙 Dà Yǐ </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 大 丁 Dà Dīng </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 大 甲 Dà Jiǎ </Td> <Td> 卜 丙 Bǔ Bǐng </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 大 庚 Dà Gēng </Td> <Td> 小 甲 Xiǎo Jiǎ </Td> </Tr> <Tr> <Td> 5 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 大 戊 Dà Wù </Td> <Td> 呂 己 Lǚ Jǐ </Td> </Tr> <Tr> <Td> 6 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 中 丁 Zhōng Dīng </Td> <Td> 卜 壬 Bǔ Rén </Td> </Tr> <Tr> <Td> 7 </Td> <Td> </Td> <Td> </Td> <Td> 戔 甲 Jiān Jiǎ </Td> <Td> 祖 乙 Zǔ Yǐ </Td> <Td> </Td> </Tr> <Tr> <Td> 8 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 祖 辛 Zǔ Xīn </Td> <Td> 羌 甲 Qiāng Jiǎ </Td> </Tr> <Tr> <Td> 9 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 祖 丁 Zǔ Dīng </Td> <Td> 南 庚 Nán Gēng </Td> </Tr> <Tr> <Td> 10 </Td> <Td> 象 甲 Xiàng Jiǎ </Td> <Td> 盤 庚 Pán Gēng </Td> <Td> 小 辛 Xiǎo Xīn </Td> <Td> 小 乙 Xiǎo Yǐ </Td> <Td> </Td> </Tr> <Tr> <Td> 11 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 武丁 Wǔ Dīng </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> 12 </Td> <Td> </Td> <Td> </Td> <Td> 祖 庚 Zǔ Gēng </Td> <Td> 祖 甲 Zǔ Jiǎ </Td> <Td> </Td> <Td> II </Td> </Tr> <Tr> <Td> 13 </Td> <Td> </Td> <Td> </Td> <Td> 廩 辛 Lǐn Xīn </Td> <Td> 康 丁 Gēng Dīng </Td> <Td> </Td> <Td> III </Td> </Tr> <Tr> <Td> 14 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 武 乙 Wǔ Yǐ </Td> <Td> </Td> <Td> IV </Td> </Tr> <Tr> <Td> 15 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 文武 丁 Wén Wǔ Dīng </Td> <Td> </Td> </Tr> <Tr> <Td> 16 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 帝 乙 Dì Yǐ </Td> <Td> </Td> <Td> V </Td> </Tr> <Tr> <Td> 17 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 帝 辛 Dì Xīn </Td> <Td> </Td> </Tr> </Table> <Tr> <Th> Generation </Th> <Th_colspan="3"> Older brothers </Th> <Th> Main line of descent </Th> <Th> Younger brothers </Th> <Th> Diviner group </Th> </Tr>

Who is the ruler of the shang dynasty
find me the text answering this question