S mod i (1/3)

S mod i