S : 7 = 27 rest 5
S = 27 × 7 + 5
S = 189 + 5
S = 194
A + A + 1 + A + 2 + A + 3 = 194
4 × A + 1 + 2 + 3 = 194
4 × A + 1 + 2 = 194 - 3
4 × A + 1 + 2 = 191
4 × A + 1 = 191 - 2
4 × A + 1 = 189
4 × A = 189 - 1
4 × A = 188
A = 188 : 4
A = 47
A + 1 = 47 + 1 = 48
A + 2 = 47 + 2 = 49
A + 3 = 47 + 3 = 50