General {an}: NP-complete, No polynomial time algorithm
Example: (3, 5, 9, 20, 44)
3x1+5x2+9x3+20x4+44x5=69 mod 89
x5 = 1 =25 x4 = 1 =5 x3 = 0, x2 = 1 x1 = 0
But Shamir (1983) showed, the method is breakable!