Check if a number N can be represented as a sum of multiples of 3, 5, and 7
Given a non-negative integer N, the task is to check if that integer can be represented as a summation of multiples of 3, 5, and 7, and print their respective values. If the task is not possible then print -1. Examples: Input: 10Output: 1 0 1Explanation: 10 can be represented as: (3 * 1) + (5 * 0) +