#include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0;
cout << "请输入A,B,C三只小猪的体重:";
cin >> a >> b >> c;
if (a > b) {
if (a > c) {
cout << "小猪A最重";
}
else {
cout << "小猪C最重";
}
}if (a < b) {
if (b > c) {
cout << "小猪B最重";
}
else {
cout << "小猪C最重";
}
}
return 0;
}