#!/bin/python3 import sys def profit(b, s, c): return(s+b-c) # Return the fixed profit. if __name__ == "__main__": t = int(input().strip()) if (1<=t<=100): for a0 in range(t): b, s, c = input().strip().split(' ') b, s, c = [int(b), int(s), int(c)] if(3<=c<=2000 and 2<=b