class Solution {public int add(int a, int b) {while(b!=0) {int c = (a & b)<<1; int n = a ^ b; a = n; b = c; } return a; } }