module full_adder(
  input a,
  input b,
  input cin,
  output sum,
  output cout
);

  // Implement full adder logic
  assign sum = a ^ b ^ cin;
  assign cout = (a & b) | (a & cin) | (b & cin);

endmodule