Introduction - If you have any usage issues, please Google them yourself
As a loose person, little Z spend a lot of time in the morning to find a pair of clothes from a pile of colorful socks. Finally, one day, little Z could no longer bear this annoying process of finding socks, so he decided to listen to his fate.
Specifically, the little Z numbered the N socks from 1 to N, and then from the number L to the R (L although the small Z doesn't care whether the two socks are a complete pair or even if the two socks are left or right, he is very concerned with the color of the socks, after all, wearing two different colors will be embarrassing. "
Your task is to tell little Z how much he can draw two socks of the same color. Of course, small Z expects this probability to be as high as possible, so he may ask multiple L (R) to make her own choice.