Basically I have 4 screens, 4 activities. Data is entered on activity one, depending if data matches what i need, Activity 1 send me to activity two from a button. If it doesn't match, sends me to activity 3. Both 2 and 3 activities take me to Activity 4 after data is entered on those screens. Then the data is used in Activity 4. But I only need the data from one of them depending where it was entered. 

How can I check in Activity 4, which Activity was started either 2, or 3. 

Thanks