Write an algorithm to calculate sum of two numbers.
Step 1: Start.
Step 2: Read A, B.
Step 3: Sum=A+B.
Step 4: Print Sum.
Step 5: Stop.