/* -*- coding: utf-8 -*- * * 2414.cc: No.2414 2 KA 3 KA - yukicoder */ #include #include using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); int x = (a * b + b * c + c * a) * 2; int y = a * b * c; printf("%d\n", (x > y) ? 2 : 3); return 0; }