| Algorithm 2: Data categorization by cloud. |
| Input: List of the request of vehicle L1 |
| Output: L2 and L3 safety and non-safety list of requests. |
| 1. for |
| 2. if (“ambulance”, “hospital emergency”, “police helpline”, “rescue” )) |
| 3. Assign |
| 4. else assign |
| End if |
| 5. Return L2 and L3 |
| End of for |