Let $a$, $b$, $c$, $d$, $e$, $f$, and $g$ be seven distinct positive integers not bigger than 7. Find all primes that can be expressed as $abcd + efg$.

Let's think step by step and output the final answer within \boxed{}.
user