Solution for ALU