Time limit
2s
Memory limit
128 MB
Five distinct positive integers are given. Find the smallest positive integer that is divisible by at least three of the five given numbers.
The first line contains five distinct positive integers separated by spaces. Each integer is at most 100.
Print the smallest positive integer that is divisible by at least three of the five given numbers.