#150. loneSum

loneSum

Background

Description

Given 3 int values, a b c, return their sum. However, if one of the values is the same as another of the values, it does not count towards the sum.

Format

Input

Output

Samples

1 2 3
6
3 2 3
2
3 3 3
0

Limitation

1s, 1024KiB for each test case.