#!/usr/bin/env python3
import asyncio
import aiogram as telegram
import nio as matrix
async def main():
await asyncio.gather(matrix_loop(), telegram_loop())
async def matrix_loop():
print(123)
async def telegram_loop():
print(456)
if __name__ == '__main__':
asyncio.run(main())