<span><span>p=8986158661930085086019708402870402191114171745913160469454315876556947370642799226714405016920875594030192024506376929926694545081888689821796050434591251</span><span>g=6</span><span>a=230</span><span>b=250</span>
<span>C=5361617800833598741530924081762225477418277010142022622731688158297759621329407070985497917078988781448889947074350694220209769840915705739528359582454617</span><span>CA=pow(C,a,p)</span><span>CAB=pow(CA,b,p)</span>
<span>print ("sharedkey is",CAB)// The answer prints here</span></span>