Question 452389
Trial and error is the only way.
The only possible use for such problems is ... not sure what.
I don't see the point or the purpose of problems like this.