#include #include #include #include using namespace std; int main() { vector numbers(3); int x = 0; for (int i = 0; i < 3; i++) { cin >> numbers[i]; if (numbers[i] == '?') x = i; } for (char number : "14") { numbers[x] = number; if (*max_element(numbers.begin(), numbers.end()) == numbers[1] || *min_element(numbers.begin(), numbers.end()) == numbers[1]) cout << number; } cout << endl; return 0; }