A student did not notice the multiplication sign between two three-digit numbers and wrote one six-digit number, which turned out to be exactly seven times their product. Determine these numbers.