Tim had more hazelnuts than Tom. If Tim gave Tom as many hazelnuts as Tom already had, then Tim and Tom would have the same number of hazelnuts. Instead, Tim gave Tom only a few hazelnuts (at most five) and divided his remaining hazelnuts equally between \(3\) squirrels. How many hazelnuts did Tim give to Tom?