Goldbach Pair (Even)

Computer Mathematics Hard 3 views
Back to Questions

Problem Description

Given even n (>=4), find two primes that sum to n.

Input Format

One even integer n.

Output Format

Two primes p q.

Sample Test Case

Input:
26
Output:
3 23

Constraints

4

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next