A TCP connection is transferring $6000$ bytes where the first byte is numbered $10010.$ If data is sent in five segments with the first four segments carrying $1000$ bytes and the last segment carrying $2000$ bytes then number of the last byte sent is ______