Snuke is purchasing a new bicycle but needs to buy bells separately as they do not come included. He prioritizes safety and wants to buy two bells, ensuring that each bell is of a different type.
The store offers three types of bells, each priced at a, b, and c yen, respectively. Your task is to determine the minimum total price for purchasing two different bells.
Input Format
The input consists of a single line containing three integers:
a (the price of the first type of bell),
b (the price of the second type of bell),
c (the price of the third type of bell).
Output Format
Output a single integer, which is the minimum total price of buying two different bells.
Examples
Example 1
Input:
text
10 20 30
Output:
text
30
Example 2
Input:
text
5 5 10
Output:
text
10
Example 3
Input:
text
100 200 150
Output:
text
250
Constraints
All prices a, b, and c are positive integers.
Instructions
Implement your solution in the /app/ directory.
Ensure your code efficiently computes the minimum cost of two different bells based on the provided prices.