Shuffled Equation

ABC 392

Problem 24 of 50

Easy

What to do

You have three numbers, and you can rearrange them in any order. Your task is to check if you can multiply two of the numbers together to equal the third number.

Key Concepts

if-statements loops basic math arrays or lists

Examples

Input: 3, 15, 5

Output: Yes

Input: 5, 3, 2

Output: No

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...