# ??? and ???, 43 bytes, vulnerable

output: `2147483647`

| | |
|-|-|
| both    | `-print /*"\r"%S #*/|2**31-1` |
| only A  | `-print %S`                   |
| only B  | `2**31-1`                     |
| neither |                               |

hint:  
none of the languages are esoteric or recreational, both are practical and one of them is even quite popular