Elizabeth cashed a check for $199. The teller gave her six twenty-dollar bills, x ten-dollar bills, and nineteen one-dollar bills. Find the value of x.