Split into composite numbers
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
What is the maximum number of composite numbers that can be used to represent the number as a sum of composite numbers?
Note: A positive integer that has a divisor other than itself and is called a composite number.
Input
One integer .
Output
Print the maximum number of composite numbers that can be used such that their sum equals . If the number cannot be represented as a sum of composite numbers, print .
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Input #4
Answer #4
Submissions 1K
Acceptance rate 26%