pragma solidity ^0.4.18; contract Test { int256 a = 0; function set(int256 n) public { a += n; } function get() public constant returns(int256) { return a; } }