What numbers are these? While I was writing numbers I noticed after a while that my keyboard had the Shift key pressed and blocked and all I wrote was $%&amp;-like characters. And even worse, I had been switching between the English and Spanish keyboard layouts so I don't know which one I used for each number.

Challenge

Given a string containing symbol characters, try to guess which number I wrote. My keyboard produces the following characters for the numbers when the Shift is pressed:

1234567890
----------
!"·$%&amp;/()=  Spanish layout
!@#$%^&amp;*()  English layout



The input will be a non-null, non-empty string composed of the symbols above.
The output will be a single number if the keyboard layout can be inferred from the string (i.e. if the string contains a @ an English layout was used, and if the string contains a " a Spanish layout was used) or if the number is the same for both layouts (i.e. the input is !$ which translates as 14 for both layouts); otherwise the output will be the two possible numbers for both layouts if it cannot be inferred and the resulting numbers are different.
The input string will always be written in a single layout. So you don't need to expect "@ as input.


Examples

Input  --&gt;  Output
------------------
/()         789        (Spanish layout detected by the use of /)
$%&amp;         456,457    (Layout cannot be inferred)
!@#         123        (English layout detected by the use of @ and #)
()&amp;!        8961,9071  (Layout cannot be inferred)
((·))       88399      (Spanish layout detected by the use of ·)
!$          14         (Layout cannot be inferred but the result is the same for both)
!!$$%%      114455     (Layout cannot be inferred but the result is the same for both)
==$"        0042/42    (Spanish layout, if a number starts with 0 you can choose to
                       omit them in the result or not)

Single character translations:
------------------------------
!   1    
"   2
·   3
$   4
%   5
&amp;   6,7
/   7
(   8,9
)   9,0
=   0
@   2
#   3
^   6
*   8


This is code-golf, so may the shortest code for each language win!
Jelly, 32 31 bytes

O“=!"Ṣ$%&amp;/()“)!@#$%^&amp;*(‘iⱮ€PƇ’Q


Try it online!


-1 bytes thanks to Erik the Outgolfer




O“!"Ṣ$%&amp;/()=“!@#$%^&amp;*()‘iⱮ€PƇ%⁵Q
O                                  ord of each character in the input
 “!"Ṣ$%&amp;/()=“!@#$%^&amp;*()‘           Constant that yields the list:
                                      [[33, 34, 183, 36, 37, 38, 47, 40, 41, 61],
                                       [33, 64, 35, 36, 37, 94, 38, 42, 40, 41]
                          €        For each list of numbers:
                         Ɱ           For each ord of the characters in the input:
                        i              Find the index of the ord of the character
                                       in the list of numbers.
                                       If the number is not found, `i` returns zero
                                       which means it's a character from only one
                                       keyboard.
                                   There are now two lists of numbers 1-10.
                            Ƈ      Keep the list(s) that: 
                           P         have nonzero product.
                             %⁵    Modulo 10. This maps 10-&gt;0.
                               Q   Unique elements. This removes duplicates if the two numbers are the same.