Russian Railways (or TsPPK) you will figure out the algorithms there

 

v20240901