Problem Statement | |||||||||||||
Given five positive integers, their least majority multiple is the smallest positive integer that is divisible by at least three of them. Given distinct ints a, b, c, d and e, return their least majority multiple. | |||||||||||||
Definition | |||||||||||||
| |||||||||||||
Constraints | |||||||||||||
| - | a, b, c, d and e will each be between 1 and 100, inclusive. | ||||||||||||
| - | a, b, c, d and e will be distinct. | ||||||||||||
Examples | |||||||||||||
| 0) | |||||||||||||
| |||||||||||||
| 1) | |||||||||||||
| |||||||||||||
| 2) | |||||||||||||
| |||||||||||||
| 3) | |||||||||||||
| |||||||||||||