Video Explanation Solution easy to understand | Programming with Pirai | Half Moon Coder.
Video : Code
# Video : https://youtu.be/cAosyhtmybw

# Code
```python3 []
class Solution:
    def numMovesStones(self, a: int, b: int, c: int) -> List[int]:
        place=[a,b,c]
        place.sort()
        a,b,c=place
        if a+1==b==c-1:
            diff1=0
        elif b-a-1>1 and c-b-1>1:
            diff1=2
        else:
            diff1=1
        diff2=b-a-1+c-b-1
        return [diff1,diff2]
```
['Math', 'Brainteaser', 'Python3']