Equally

ABC 385

Problem 31 of 50

Easy

What to do

You are given three numbers. Your task is to find out if you can split these numbers into two or more groups where the sum of each group is the same.

Key Concepts

if-statements basic math input/output handling

Examples

Input: 3, 8, 5

Output: Yes

Input: 2, 2, 2

Output: Yes

Tips for Beginners

  • Focus on understanding the logic, not memorizing syntax
  • Use print statements to debug your code
  • Don't worry about input parsing - the function handles that for you
  • If stuck, try writing out your solution on paper first

Python Editor

Loading Python...