The calculation mechanism of SFP lottery