s ranks

mastery system for ranking in league of legends and s ranks can someone explain ,please, how does the system determine ranks you get i mean my friend played yasuo he had 4/0/0 and 100 farm and got an s,i played shaco had 14/0/6 and around 200 farm i got an a+,explanation pls edit:he has a picture of it if needed
Report as:
Offensive Spam Harassment Incorrect Board