The integers from $1$ to $100$ are written in a board. Two numbers are chosen from the board and the difference is written on the board erasing the two numbers. The process continues in this way. Finally, only one number $K$ remains. What is the sum of the maximum and minimum value of $K$?